ETH Price: $2,429.70 (+5.40%)

Token

RelayerV3 (RLR)
 

Overview

Max Total Supply

71,742.554200000000000001 RLR

Holders

57

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
250 RLR

Value
$0.00
0xdf11fe3f46fa3f0d9a9733584ce00e2cb7cd6318
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# 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:
Relay3rV3

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 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 Relay3rV3 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 = "RelayerV3";

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

    /// @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 the allowance of bond amount to be spent
    mapping(address => mapping (address => mapping(address => uint256))) public 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 delay from governance
     * @param newDelay the new delay
     * @param delayType the type of bond delay being updated
     */
    function setNewDelay(uint newDelay,uint delayType) external onlyGovernance {
        require( delayType >= 1 && delayType <= 3 ,"!type");
        if(delayType == 1)
            BOND = newDelay;
        else if (delayType == 2)
            UNBOND = newDelay;
        else
            LIQUIDITYBOND = newDelay;
    }

    /**
     * @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
     * @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,uint256 bondAmount) public {
        //Removed dokeeperRightChecks and put it here
        require(isKeeper(from));
        //Check caller or caller allowances
        require(msg.sender == from || KeeperAllowances[from][msg.sender][bonding] >= bondAmount);
        //Check the bond amount
        require(bondAmount <= bonds[from][bonding]);
        doDataInit(to);

        bool fullTransfer = bondAmount == bonds[from][bonding];

        //Set the user calling keeper stat to false if bond amount transfered is the full bond balance
        if(fullTransfer)
            keepers[from] = false;
        //Set the to addr keeper stat to true
        keepers[to] = true;

        //Unbond from sender
        _unbond(bonding,from,bondAmount);
        //Bond to receiver
        _bond(bonding,to,bondAmount);

        //Transfer firstSeen to new addr,which transfers the age of the relayer
        firstSeen[to] = firstSeen[from];
        //Reset from addr's firstSeen,transfer workcompleted data if fullTransfer
        if(fullTransfer){
            firstSeen[from] = 0;
            workCompleted[to] = workCompleted[from];
            workCompleted[from] = 0;
        }
        //remove rights for this address after transfer is done from caller,if caller isnt the from addr
        if(msg.sender != from) KeeperAllowances[from][msg.sender][bonding] = KeeperAllowances[from][msg.sender][bonding].sub(bondAmount);
        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 amount Amount of bonding to approve to be spent
     * @return Whether or not the approval succeeded
     */
    function keeperrightapprove(address spender,address bonding,uint256 amount) public returns (bool) {
        KeeperAllowances[msg.sender][spender][bonding] = amount;

        emit KeeperRightApproval(msg.sender, bonding,spender, amount);
        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": "0x57694b69636d4C7DaeC1E1cc7901CE48AC28563d"
    }
  },
  "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":"uint256","name":"amount","type":"uint256"}],"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":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"KeeperAllowances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"amount","type":"uint256"}],"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":"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":"newDelay","type":"uint256"},{"internalType":"uint256","name":"delayType","type":"uint256"}],"name":"setNewDelay","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"},{"internalType":"uint256","name":"bondAmount","type":"uint256"}],"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"}]

60a060405260006002556203f48060095562127500600a556203f480600b55601e600c5560006013553480156200003557600080fd5b506001600055602580546001600160a01b0319163317905560408051808201909152600981526852656c61796572563360b81b6020909101527f797cfab58fcb15f590eb8e4252d5c228ff88f94f907e119e80c4393a946e8f357ff39760f8798fa194b3ace7006288179490f557910f051f6cc65ab0bd3888e398620000ba6200010c565b3060405160200180858152602001848152602001838152602001826001600160a01b03168152602001945050505050604051602081830303815290604052805190602001206080818152505062000110565b4690565b608051615f826200013560003980611d60528061427d52806146a05250615f826000f3fe6080604052600436106105235760003560e01c8063782d6fe1116102a2578063ce6a088011610165578063eb421f3b116100cc578063f75f9f7b11610085578063f75f9f7b1461177d578063f9d46cf2146117b0578063f9f92be4146117ff578063fc23583814611832578063fede70081461187b578063ffb0a4a0146118c057610523565b8063eb421f3b14611652578063ec342ad014611685578063ec4515dd1461169a578063f069bc69146116c4578063f1127ed814611709578063f39c38a01461176857610523565b8063de63298d1161011e578063de63298d1461150e578063deac354114611547578063def7084414611582578063e326ac43146115c7578063e74f8239146115fa578063e7a324dc1461163d57610523565b8063ce6a0880146113a6578063d454019d146113df578063d505accf14611412578063d8bff5a514611470578063db3b1cbc146114a3578063dd62ed3e146114d357610523565b8063a5d059ca11610209578063b600702a116101c2578063b600702a1461127d578063bb49096d146112b0578063c1c1d218146112f5578063c3cda5201461130a578063c5198abc1461135e578063c57981b51461139157610523565b8063a5d059ca1461115d578063a9059cbb14611196578063ab033ea9146111cf578063b0103b1a14611202578063b105e39f14611235578063b4b5ea571461124a57610523565b80638d9acd2e1161025b5780638d9acd2e1461102c57806395d89b411461106f5780639af7728414611084578063a0712d68146110bf578063a39744b5146110e9578063a515366a1461112457610523565b8063782d6fe114610ef05780637ecebe0014610f295780638071198914610f5c5780638322fff214610f8f57806383baa69314610fa457806388b4ac8314610fe957610523565b80634395d8ba116103ea578063637cd7f0116103515780636dab5dcf1161030a5780636dab5dcf14610db25780636fcfff4514610dd857806370a0823114610e2457806372da828a14610e5757806374a8f10314610e8a5780637724ff6814610ebd57610523565b8063637cd7f014610c2e57806364bb43ee14610c695780636703324714610c9c57806367da318414610cdf57806368581ebd14610d1a5780636ba42aaa14610d7f57610523565b8063587cde1e116103a3578063587cde1e14610b305780635aa6e67514610b635780635c19a95c14610b785780635feeb79414610bab578063603b4d1414610bde578063603c686014610bf357610523565b80634395d8ba146109f457806344d96e9514610a395780634b3fde2114610a4e57806351cff8d914610a8757806352a4de2914610aba57806355ea6c4714610afd57610523565b80631ff5f3da1161048e57806330adf81f1161044757806330adf81f146108e9578063313ce567146108fe57806337feca84146109295780633bbd64bc146109645780633d1f0bb91461099757806342966c68146109ca57610523565b80631ff5f3da146107c557806320606b701461080a5780632119a62a1461081f578063238efcbc1461085857806323b872dd1461086d578063278abc5e146108b057610523565b806318160ddd116104e057806318160ddd146106c65780631992d206146106db5780631b44555e146107205780631b7a1fb2146107535780631c5a9d9c1461077d5780631df0de13146107b057610523565b806306fdde0314610528578063095ea7b3146105b257806309aff02b146105ff5780630c33c522146106305780631101eb411461065a5780631778e29c1461069f575b600080fd5b34801561053457600080fd5b5061053d6118d5565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561057757818101518382015260200161055f565b50505050905090810190601f1680156105a45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105be57600080fd5b506105eb600480360360408110156105d557600080fd5b506001600160a01b0381351690602001356118fa565b604080519115158252519081900360200190f35b34801561060b57600080fd5b50610614611961565b604080516001600160a01b039092168252519081900360200190f35b34801561063c57600080fd5b506106146004803603602081101561065357600080fd5b5035611970565b34801561066657600080fd5b5061069d6004803603606081101561067d57600080fd5b506001600160a01b03813581169160208101359091169060400135611997565b005b3480156106ab57600080fd5b506106b4611d5e565b60408051918252519081900360200190f35b3480156106d257600080fd5b506106b4611d82565b3480156106e757600080fd5b506106b4600480360360608110156106fe57600080fd5b506001600160a01b038135811691602081013582169160409091013516611d88565b34801561072c57600080fd5b506106b46004803603602081101561074357600080fd5b50356001600160a01b0316611dab565b34801561075f57600080fd5b506106146004803603602081101561077657600080fd5b5035611dbd565b34801561078957600080fd5b5061069d600480360360208110156107a057600080fd5b50356001600160a01b0316611dca565b3480156107bc57600080fd5b506106b4611edb565b3480156107d157600080fd5b506105eb600480360360808110156107e857600080fd5b506001600160a01b038135169060208101359060408101359060600135611ee1565b34801561081657600080fd5b506106b4611fa2565b34801561082b57600080fd5b5061069d6004803603604081101561084257600080fd5b506001600160a01b038135169060200135611fc6565b34801561086457600080fd5b5061069d612119565b34801561087957600080fd5b506105eb6004803603606081101561089057600080fd5b506001600160a01b0381358116916020810135909116906040013561218a565b3480156108bc57600080fd5b5061069d600480360360408110156108d357600080fd5b506001600160a01b03813516906020013561226c565b3480156108f557600080fd5b506106b4612387565b34801561090a57600080fd5b506109136123ab565b6040805160ff9092168252519081900360200190f35b34801561093557600080fd5b506106b46004803603604081101561094c57600080fd5b506001600160a01b03813581169160200135166123b0565b34801561097057600080fd5b506105eb6004803603602081101561098757600080fd5b50356001600160a01b03166123cd565b3480156109a357600080fd5b506105eb600480360360208110156109ba57600080fd5b50356001600160a01b03166123e1565b3480156109d657600080fd5b5061069d600480360360208110156109ed57600080fd5b50356123f6565b348015610a0057600080fd5b5061069d60048036036060811015610a1757600080fd5b506001600160a01b038135811691602081013582169160409091013516612400565b348015610a4557600080fd5b506106b4612749565b348015610a5a57600080fd5b5061069d60048036036040811015610a7157600080fd5b506001600160a01b03813516906020013561274f565b348015610a9357600080fd5b5061069d60048036036020811015610aaa57600080fd5b50356001600160a01b0316612966565b348015610ac657600080fd5b5061069d60048036036060811015610add57600080fd5b506001600160a01b03813581169160208101359091169060400135612ba8565b348015610b0957600080fd5b5061069d60048036036020811015610b2057600080fd5b50356001600160a01b0316612e6c565b348015610b3c57600080fd5b5061061460048036036020811015610b5357600080fd5b50356001600160a01b0316612edb565b348015610b6f57600080fd5b50610614612ef6565b348015610b8457600080fd5b5061069d60048036036020811015610b9b57600080fd5b50356001600160a01b0316612f05565b348015610bb757600080fd5b5061069d60048036036020811015610bce57600080fd5b50356001600160a01b0316612f0f565b348015610bea57600080fd5b506106b4612f98565b348015610bff57600080fd5b5061069d60048036036040811015610c1657600080fd5b506001600160a01b0381358116916020013516612f9e565b348015610c3a57600080fd5b506106b460048036036040811015610c5157600080fd5b506001600160a01b03813581169160200135166131a1565b348015610c7557600080fd5b5061069d60048036036020811015610c8c57600080fd5b50356001600160a01b03166131be565b348015610ca857600080fd5b506105eb60048036036060811015610cbf57600080fd5b506001600160a01b038135811691602081013590911690604001356131f6565b348015610ceb57600080fd5b506106b460048036036040811015610d0257600080fd5b506001600160a01b038135811691602001351661326d565b348015610d2657600080fd5b50610d2f61328a565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610d6b578181015183820152602001610d53565b505050509050019250505060405180910390f35b348015610d8b57600080fd5b506105eb60048036036020811015610da257600080fd5b50356001600160a01b03166132ec565b61069d60048036036020811015610dc857600080fd5b50356001600160a01b0316613310565b348015610de457600080fd5b50610e0b60048036036020811015610dfb57600080fd5b50356001600160a01b0316613467565b6040805163ffffffff9092168252519081900360200190f35b348015610e3057600080fd5b506106b460048036036020811015610e4757600080fd5b50356001600160a01b031661347f565b348015610e6357600080fd5b5061069d60048036036020811015610e7a57600080fd5b50356001600160a01b031661349a565b348015610e9657600080fd5b5061069d60048036036020811015610ead57600080fd5b50356001600160a01b03166134d3565b348015610ec957600080fd5b506106b460048036036020811015610ee057600080fd5b50356001600160a01b031661353c565b348015610efc57600080fd5b506106b460048036036040811015610f1357600080fd5b506001600160a01b03813516906020013561354e565b348015610f3557600080fd5b506106b460048036036020811015610f4c57600080fd5b50356001600160a01b031661375d565b348015610f6857600080fd5b5061069d60048036036020811015610f7f57600080fd5b50356001600160a01b031661376f565b348015610f9b57600080fd5b506106146137e7565b348015610fb057600080fd5b506106b460048036036060811015610fc757600080fd5b506001600160a01b0381358116916020810135821691604090910135166137ec565b348015610ff557600080fd5b5061069d6004803603606081101561100c57600080fd5b506001600160a01b0381358116916020810135909116906040013561380f565b34801561103857600080fd5b5061069d6004803603606081101561104f57600080fd5b506001600160a01b03813581169160208101359091169060400135613ac4565b34801561107b57600080fd5b5061053d613c10565b34801561109057600080fd5b506106b4600480360360408110156110a757600080fd5b506001600160a01b0381358116916020013516613c2f565b3480156110cb57600080fd5b5061069d600480360360208110156110e257600080fd5b5035613c4c565b3480156110f557600080fd5b506106b46004803603604081101561110c57600080fd5b506001600160a01b0381358116916020013516613c79565b34801561113057600080fd5b5061069d6004803603604081101561114757600080fd5b506001600160a01b038135169060200135613c96565b34801561116957600080fd5b5061069d6004803603604081101561118057600080fd5b506001600160a01b038135169060200135613f0b565b3480156111a257600080fd5b506105eb600480360360408110156111b957600080fd5b506001600160a01b038135169060200135613feb565b3480156111db57600080fd5b5061069d600480360360208110156111f257600080fd5b50356001600160a01b0316614001565b34801561120e57600080fd5b506105eb6004803603602081101561122557600080fd5b50356001600160a01b031661403a565b34801561124157600080fd5b50610d2f61404f565b34801561125657600080fd5b506106b46004803603602081101561126d57600080fd5b50356001600160a01b03166140af565b34801561128957600080fd5b5061069d600480360360208110156112a057600080fd5b50356001600160a01b0316614113565b3480156112bc57600080fd5b506106b4600480360360608110156112d357600080fd5b506001600160a01b0381358116916020810135821691604090910135166141e6565b34801561130157600080fd5b506106b4614209565b34801561131657600080fd5b5061069d600480360360c081101561132d57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a0013561420f565b34801561136a57600080fd5b5061069d6004803603602081101561138157600080fd5b50356001600160a01b031661444d565b34801561139d57600080fd5b506106b4614564565b3480156113b257600080fd5b5061069d600480360360408110156113c957600080fd5b506001600160a01b03813516906020013561456a565b3480156113eb57600080fd5b506106b46004803603602081101561140257600080fd5b50356001600160a01b03166145f7565b34801561141e57600080fd5b5061069d600480360360e081101561143557600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135614609565b34801561147c57600080fd5b506106b46004803603602081101561149357600080fd5b50356001600160a01b03166148ad565b3480156114af57600080fd5b5061069d600480360360408110156114c657600080fd5b50803590602001356148bf565b3480156114df57600080fd5b506106b4600480360360408110156114f657600080fd5b506001600160a01b038135811691602001351661494d565b34801561151a57600080fd5b5061069d6004803603604081101561153157600080fd5b506001600160a01b038135169060200135614978565b34801561155357600080fd5b506106b46004803603604081101561156a57600080fd5b506001600160a01b0381358116916020013516614a0a565b34801561158e57600080fd5b506106b4600480360360608110156115a557600080fd5b506001600160a01b038135811691602081013582169160409091013516614a27565b3480156115d357600080fd5b506106b4600480360360208110156115ea57600080fd5b50356001600160a01b0316614a4a565b34801561160657600080fd5b5061069d6004803603606081101561161d57600080fd5b506001600160a01b03813581169160208101359091169060400135614a5c565b34801561164957600080fd5b506106b4614b77565b34801561165e57600080fd5b506105eb6004803603602081101561167557600080fd5b50356001600160a01b0316614b9b565b34801561169157600080fd5b506106b4614bb0565b3480156116a657600080fd5b50610614600480360360208110156116bd57600080fd5b5035614bb6565b3480156116d057600080fd5b506106b4600480360360608110156116e757600080fd5b506001600160a01b038135811691602081013582169160409091013516614bc3565b34801561171557600080fd5b506117486004803603604081101561172c57600080fd5b5080356001600160a01b0316906020013563ffffffff16614be6565b6040805163ffffffff909316835260208301919091528051918290030190f35b34801561177457600080fd5b50610614614c13565b34801561178957600080fd5b5061069d600480360360208110156117a057600080fd5b50356001600160a01b0316614c22565b3480156117bc57600080fd5b506105eb600480360360a08110156117d357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060800135614c94565b34801561180b57600080fd5b506105eb6004803603602081101561182257600080fd5b50356001600160a01b0316614d44565b34801561183e57600080fd5b5061069d6004803603608081101561185557600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135614d59565b34801561188757600080fd5b506106b46004803603606081101561189e57600080fd5b506001600160a01b038135811691602081013582169160409091013516614fa5565b3480156118cc57600080fd5b50610d2f614fc8565b6040518060400160405280600981526020016852656c61796572563360b81b81525081565b3360008181526006602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6001546001600160a01b031681565b6024818154811061197d57fe5b6000918252602090912001546001600160a01b0316905081565b336000908152601f602090815260408083206001600160a01b038781168552908352818420908616845290915290205415611a0a576040805162461bcd60e51b815260206004820152600e60248201526d1c195b991a5b99c818dc99591a5d60921b604482015290519081900360640190fd5b336000818152601b602090815260408083206001600160a01b03888116808652918452828520908816808652908452828520429055948452601c835281842090845282528083209383529290522054611a639082615028565b336000818152601c602090815260408083206001600160a01b03898116808652918452828520908916808652818552838620889055958552601a8452828520918552908352818420948452938252909120549190521015611b00576040805162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b604482015290519081900360640190fd5b6040805163cbc3ab5360e01b81526001600160a01b038516600482015230602482015290516000917357694b69636d4c7daec1e1cc7901ce48ac28563d9163cbc3ab5391604480820192602092909190829003018186803b158015611b6457600080fd5b505af4158015611b78573d6000803e3d6000fd5b505050506040513d6020811015611b8e57600080fd5b5051604080516318160ddd60e01b81529051919250600091611c17916001600160a01b038816916318160ddd91600480820192602092909190829003018186803b158015611bdb57600080fd5b505afa158015611bef573d6000803e3d6000fd5b505050506040513d6020811015611c0557600080fd5b5051611c11848661506b565b906150c3565b6001600160a01b0385166000908152601960209081526040808320308452909152902054909150811115611c9d576001600160a01b038416600090815260196020908152604080832030808552925290912054611c7491906150ee565b6001600160a01b0384166000908152601960209081526040808320308452909152812055611cfa565b611ca730826150ee565b6001600160a01b0384166000908152601960209081526040808320308452909152902054611cd590826151ef565b6001600160a01b03851660009081526019602090815260408083203084529091529020555b336001600160a01b0316856001600160a01b0316856001600160a01b03167f6d962fe34dd0cf9a9df3e12a7b8ddfe5f790b3f11668553455d7b52db70a07be4387604051808381526020018281526020019250505060405180910390a45050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60025481565b601f60209081526000938452604080852082529284528284209052825290205481565b60176020526000908152604090205481565b6028818154811061197d57fe5b3360009081526021602052604090205460ff1615611e1d576040805162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b604482015290519081900360640190fd5b336000908152600d602090815260408083206001600160a01b038516845290915290205415801590611e8a5750600954336000908152600d602090815260408083206001600160a01b03861684529091528120549091611e8791611e8091615028565b42906151ef565b10155b611ec5576040805162461bcd60e51b8152602060048201526007602482015266626f6e64696e6760c81b604482015290519081900360640190fd5b611ece3361521a565b611ed8338261529f565b50565b600b5481565b60005a6029556001600160a01b038516600090815260208052604090205460ff168015611f4557506001600160a01b03851660009081526012602090815260408083205460118352818420308552909252909120548591611f429190615028565b10155b8015611f6957506001600160a01b0385166000908152601760205260409020548311155b8015611f9957506001600160a01b0385166000908152601460205260409020548290611f969042906151ef565b10155b95945050505050565b7f797cfab58fcb15f590eb8e4252d5c228ff88f94f907e119e80c4393a946e8f3581565b3360009081526018602052604090205460ff1661201a576040805162461bcd60e51b815260206004820152600d60248201526c3932b1b2b4b83a1d1010b537b160991b604482015290519081900360640190fd5b6040805180820182526011815270696e737566666369656e742066756e647360781b60208083019190915233600090815260198252838120600e82529091529190912054612069918390615366565b336000908152601960209081526040808320600e84528252808320939093556001600160a01b0385168083526016909152828220429055915183156108fc0291849190818181858888f193505050501580156120c9573d6000803e3d6000fd5b50604080514381526020810183905281516001600160a01b038516923392600e927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e8929181900390910190a45050565b6026546001600160a01b03163314612166576040805162461bcd60e51b815260206004820152600b60248201526a10b832b73234b733a3b7bb60a91b604482015290519081900360640190fd5b602654602580546001600160a01b0319166001600160a01b03909216919091179055565b6001600160a01b0383166000818152600660209081526040808320338085529252822054919290919082148015906121c457506000198114155b156122555760006121f085604051806060016040528060278152602001615f2660279139849190615366565b6001600160a01b0380891660008181526006602090815260408083209489168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b6122608686866153fd565b50600195945050505050565b6025546001600160a01b0316331461228357600080fd5b6001600160a01b03821660009081526018602052604090205460ff166122d9576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6001600160a01b03821660009081526019602090815260408083203084529091529020546123079082615028565b6001600160a01b038316600090815260196020908152604080832030808552925290912091909155612339908261554f565b6040805143815260208101839052815133926001600160a01b0386169230927fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a929181900390910190a45050565b7f5fae9ec55a1e547936e0e74d606b44cd5f912f9adcd0bba561fea62d570259e981565b601281565b600d60209081526000928352604080842090915290825290205481565b602080526000908152604090205460ff1681565b60186020526000908152604090205460ff1681565b611ed833826150ee565b6001600160a01b03821660009081526027602052604090205460ff16612455576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b6001600160a01b038084166000908152601e6020908152604080832086851684528252808320938516835292905220546124c0576040805162461bcd60e51b81526020600482015260076024820152661b9bc8189bdb9960ca1b604482015290519081900360640190fd5b600b546001600160a01b038085166000908152601e6020908152604080832087851684528252808320938616835292905290812054909161250491611e8091615028565b1015612541576040805162461bcd60e51b8152602060048201526007602482015266626f6e64696e6760c81b604482015290519081900360640190fd5b6040805163cbc3ab5360e01b81526001600160a01b038416600482015230602482015290516000917357694b69636d4c7daec1e1cc7901ce48ac28563d9163cbc3ab5391604480820192602092909190829003018186803b1580156125a557600080fd5b505af41580156125b9573d6000803e3d6000fd5b505050506040513d60208110156125cf57600080fd5b5051604080516318160ddd60e01b81529051919250600091612683916001600160a01b038716916318160ddd91600480820192602092909190829003018186803b15801561261c57600080fd5b505afa158015612630573d6000803e3d6000fd5b505050506040513d602081101561264657600080fd5b50516001600160a01b038088166000908152601f602090815260408083208a85168452825280832093891683529290522054611c1190859061506b565b905061268f308261554f565b6001600160a01b03831660009081526019602090815260408083203084529091529020546126bd9082615028565b6001600160a01b038085166000818152601960209081526040808320308452825280832095909555898416808352601f8252858320948a168084529482528583208484528252858320929092558451438152908101869052845191947fa90666688fb32254f45a367c38fbcd5f2664432b061a4354d9d3c9a7abcbec5b92918290030190a45050505050565b60135481565b3360009081526018602052604090205460ff1661279c576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6001546001600160a01b031663525ea6316127ba5a602954906151ef565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156127ee57600080fd5b505afa158015612802573d6000803e3d6000fd5b505050506040513d602081101561281857600080fd5b505181111561285a576040805162461bcd60e51b81526020600482015260096024820152681b585e081b1a5b5a5d60ba1b604482015290519081900360640190fd5b6040805180820182526011815270696e737566666369656e742066756e647360781b6020808301919091523360009081526019825283812030825290915291909120546128a8918390615366565b3360009081526019602090815260408083203084528252808320939093556001600160a01b038516825260169052204290556128e482826155c8565b6001600160a01b0382166000908152601760205260409020546129079082615028565b6001600160a01b03831660008181526017602090815260409182902093909355805143815292830184905280519192339230927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e8928290030190a45050565b600260005414156129ac576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b60026000908155338152600e602090815260408083206001600160a01b038516845290915290205415801590612a165750600a54336000908152600e602090815260408083206001600160a01b03861684529091528120549091612a1391611e8091615028565b10155b612a53576040805162461bcd60e51b8152602060048201526009602482015268756e626f6e64696e6760b81b604482015290519081900360640190fd5b3360009081526015602052604090205460ff1615612aa3576040805162461bcd60e51b8152602060048201526008602482015267646973707574657360c01b604482015290519081900360640190fd5b6001600160a01b038116301415612ae857336000818152600f602090815260408083206001600160a01b0386168452909152902054612ae39130916153fd565b612b17565b336000818152600f602090815260408083206001600160a01b038616808552925290912054612b179290615681565b336000818152600f602090815260408083206001600160a01b038616845282529182902054825143815242928101929092528183015290517f095ae150bb74a0755c30809eb8d4aa810b63b66b9ca96a1945bbb03d809df2e99181900360600190a2336000908152600f602090815260408083206001600160a01b0394909416835292905290812081905560019055565b60026000541415612bee576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b600260009081556001600160a01b03841681526027602052604090205460ff16612c47576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b612c5c6001600160a01b0384163330846156d8565b336000908152601a602090815260408083206001600160a01b0387811685529083528184209086168452909152902054612c969082615028565b336000818152601a602090815260408083206001600160a01b0389811680865291845282852090891680865290845282852096909655848452601e835281842081855283528184208685528352818420429055938352601f825280832093835292815282822093825292909252902054612d109082615028565b336000908152601f602090815260408083206001600160a01b038881168552908352818420908716845282528083209390935560189052205460ff16158015612d7e5750600a546001600160a01b0383166000908152601d60205260409020544291612d7c9190615028565b105b15612e05576025546040805163dc380cbb60e01b81526001600160a01b0385811660048301529151919092169163dc380cbb91602480830192600092919082900301818387803b158015612dd157600080fd5b505af1158015612de5573d6000803e3d6000fd5b5050506001600160a01b0383166000908152601d60205260409020429055505b336001600160a01b0316836001600160a01b0316836001600160a01b03167fe1cb44a16adbd63a44f65c279b23b8f447b2c6e120a2bc7f004758b446e05ed14385604051808381526020018281526020019250505060405180910390a45050600160005550565b6025546001600160a01b03163314612e8357600080fd5b6001600160a01b038116600081815260156020908152604091829020805460ff19169055815143815291517f7574a4a2c81b3099d59aaf15526ea966e1e2886afd21bf4a350af7af22db3a709281900390910190a250565b6003602052600090815260409020546001600160a01b031681565b6025546001600160a01b031681565b611ed83382615738565b600154611ed89082906001600160a01b031663525ea631612f335a602954906151ef565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612f6757600080fd5b505afa158015612f7b573d6000803e3d6000fd5b505050506040513d6020811015612f9157600080fd5b505161274f565b600a5481565b336000908152601b602090815260408083206001600160a01b0386811685529083528184209085168452909152902054613008576040805162461bcd60e51b81526020600482015260066024820152651d5b989bdb9960d21b604482015290519081900360640190fd5b600a54336000908152601b602090815260408083206001600160a01b0387811685529083528184209086168452909152812054909161304a91611e8091615028565b1015613089576040805162461bcd60e51b8152602060048201526009602482015268756e626f6e64696e6760b81b604482015290519081900360640190fd5b336000818152601c602090815260408083206001600160a01b0387811680865291845282852090871680865290845282852054958552601a84528285209185529083528184209084529091529020546130e290826151ef565b336000818152601a602090815260408083206001600160a01b0389811680865291845282852090891680865290845282852096909655848452601c835281842081855283528184209584529490915281205561313f919083615681565b336001600160a01b0316836001600160a01b0316836001600160a01b03167fb69fc9f6d19ed402461251491f86c736bfcbe966e9584d3fb8a0057b313b69204385604051808381526020018281526020019250505060405180910390a4505050565b601960209081526000928352604080842090915290825290205481565b6025546001600160a01b031633146131d557600080fd5b6001600160a01b03166000908152602760205260409020805460ff19169055565b3360008181526022602090815260408083206001600160a01b038881168086529184528285209088168086529084528285208790558251878152925194959194909391927f685b9cfdc2d085936358cc62c0e05ac6a54fee3c129f0184a4f991860f88798b92908290030190a45060019392505050565b600f60209081526000928352604080842090915290825290205481565b606060248054806020026020016040519081016040528092919081815260200182805480156132e257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116132c4575b5050505050905090565b60005a602955506001600160a01b0316600090815260208052604090205460ff1690565b6001600160a01b03811660009081526018602052604090205460ff16613366576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6000613383612710611c11600c543461506b90919063ffffffff16565b90506133bd61339234836151ef565b6001600160a01b0384166000908152601960209081526040808320600e845290915290205490615028565b6001600160a01b038084166000908152601960209081526040808320600e8452909152808220939093556025549251929091169183156108fc0291849190818181858888f19350505050158015613418573d6000803e3d6000fd5b5060408051438152346020820152815133926001600160a01b03861692600e927fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a929181900390910190a45050565b60056020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526007602052604090205490565b6025546001600160a01b031633146134b157600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6025546001600160a01b031633146134ea57600080fd5b6001600160a01b038116600090815260208080526040808320805460ff1990811690915560218352818420805490911660011790556011825280832030808552925290912054611ed891908390614a5c565b601d6020526000908152604090205481565b6000438210613595576040805162461bcd60e51b815260206004820152600e60248201526d33b2ba283934b7b92b37ba32b99d60911b604482015290519081900360640190fd5b6001600160a01b03831660009081526005602052604090205463ffffffff16806135c357600091505061195b565b6001600160a01b038416600090815260046020908152604080832063ffffffff600019860181168552925290912054168310613632576001600160a01b03841660009081526004602090815260408083206000199490940163ffffffff1683529290522060010154905061195b565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff1683101561366d57600091505061195b565b600060001982015b8163ffffffff168163ffffffff16111561372657600282820363ffffffff1604810361369f615ece565b506001600160a01b038716600090815260046020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152908714156137015760200151945061195b9350505050565b805163ffffffff168711156137185781935061371f565b6001820392505b5050613675565b506001600160a01b038516600090815260046020908152604080832063ffffffff9094168352929052206001015491505092915050565b60086020526000908152604090205481565b6025546001600160a01b0316331461378657600080fd5b6001600160a01b038116600081815260186020908152604091829020805460ff191690558151438152339181019190915281517f2ca18fdfae50f1042480d285d21f6706aa6abbd567d60a044b5bec07ccfee648929181900390910190a250565b600e81565b601c60209081526000938452604080852082529284528284209052825290205481565b60026000541415613855576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b600260009081556001600160a01b03831681526018602052604090205460ff166138af576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156138fe57600080fd5b505afa158015613912573d6000803e3d6000fd5b505050506040513d602081101561392857600080fd5b505190506139416001600160a01b0385163330856156d8565b60006139c682866001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561399457600080fd5b505afa1580156139a8573d6000803e3d6000fd5b505050506040513d60208110156139be57600080fd5b5051906151ef565b905060006139e5612710611c11600c548561506b90919063ffffffff16565b9050613a206139f483836151ef565b6001600160a01b038088166000908152601960209081526040808320938c168352929052205490615028565b6001600160a01b0380871660009081526019602090815260408083208b8516808552925290912092909255602554613a5a92911683615681565b336001600160a01b0316856001600160a01b0316876001600160a01b03167fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a4386604051808381526020018281526020019250505060405180910390a45050600160005550505050565b3360009081526018602052604090205460ff16613b18576040805162461bcd60e51b815260206004820152600d60248201526c3932b1b2b4b83a1d1010b537b160991b604482015290519081900360640190fd5b604080518082018252601a81527f726563656970743a20696e737566666369656e742066756e6473000000000000602080830191909152336000908152601982528381206001600160a01b03881682529091529190912054613b7b918390615366565b3360009081526019602090815260408083206001600160a01b0388811680865291845282852095909555938616835260169091529020429055613bbf908383615681565b604080514381526020810183905281516001600160a01b03808616933393918816927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e89281900390910190a4505050565b6040518060400160405280600381526020016229262960e91b81525081565b600e60209081526000928352604080842090915290825290205481565b6025546001600160a01b03163314613c6357600080fd5b602554611ed8906001600160a01b03168261554f565b601160209081526000928352604080842090915290825290205481565b60026000541415613cdc576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b600260009081553381526021602052604090205460ff1615613d33576040805162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b604482015290519081900360640190fd5b336000908152600d602090815260408083206001600160a01b0386168085529252909120429055301415613d7157613d6c3330836153fd565b613e58565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613dc057600080fd5b505afa158015613dd4573d6000803e3d6000fd5b505050506040513d6020811015613dea57600080fd5b50519050613e036001600160a01b0384163330856156d8565b613e5481846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561399457600080fd5b9150505b3360009081526010602090815260408083206001600160a01b0386168452909152902054613e869082615028565b3360008181526010602090815260408083206001600160a01b03881680855290835281842095909555838352600d82528083209483529381529083902054835143815291820152808301849052915190917fa150b7ad789014c0171a2873708daadbdbf87457d90d3896eaf0907e5b225ae4919081900360600190a250506001600055565b336000818152600e602090815260408083206001600160a01b03871684529091529020429055613f3d908390836157e7565b336000908152600f602090815260408083206001600160a01b0386168452909152902054613f6b9082615028565b336000818152600f602090815260408083206001600160a01b03881680855290835281842095909555838352600e82528083209483529381529083902054835143815291820152808301849052915190917f50eca01e7e4362bc0279a45c4fbe68f263771dd3418b0a29c93008759f433b2e919081900360600190a25050565b6000613ff83384846153fd565b50600192915050565b6025546001600160a01b0316331461401857600080fd5b602680546001600160a01b0319166001600160a01b0392909216919091179055565b60156020526000908152604090205460ff1681565b606060238054806020026020016040519081016040528092919081815260200182805480156132e2576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116132c4575050505050905090565b6001600160a01b03811660009081526005602052604081205463ffffffff16806140da57600061410c565b6001600160a01b038316600090815260046020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b6025546001600160a01b0316331461412a57600080fd5b6001600160a01b03811660009081526027602052604090205460ff1615614180576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b6001600160a01b03166000818152602760205260408120805460ff191660019081179091556028805491820181559091527fe16da923a2d88192e5070f37b4571d58682c0d66212ec634d495f33de3f77ab50180546001600160a01b0319169091179055565b601b60209081526000938452604080852082529284528284209052825290205481565b60095481565b604080517f1ac861a6a8532f3704e1768564a53a32774f00d6cf20ccbbdf60ab61378302bc6020808301919091526001600160a01b038916828401526060820188905260808083018890528351808403909101815260a08301845280519082012061190160f01b60c08401527f000000000000000000000000000000000000000000000000000000000000000060c284015260e2808401829052845180850390910181526101028401808652815191840191909120600091829052610122850180875281905260ff891661014286015261016285018890526101828501879052945191949390926001926101a280840193601f198301929081900390910190855afa158015614322573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661437f576040805162461bcd60e51b815260206004820152601260248201527164656c656761746542795369673a2073696760701b604482015290519081900360640190fd5b6001600160a01b038116600090815260086020526040902080546001810190915588146143ea576040805162461bcd60e51b815260206004820152601460248201527364656c656761746542795369673a206e6f6e636560601b604482015290519081900360640190fd5b86421115614438576040805162461bcd60e51b815260206004820152601660248201527519195b1959d85d19509e54da59ce88195e1c1a5c995960521b604482015290519081900360640190fd5b614442818a615738565b505050505050505050565b6025546001600160a01b0316331461446457600080fd5b6001600160a01b03811660009081526018602052604090205460ff16156144be576040805162461bcd60e51b81526020600482015260096024820152683537b11035b737bbb760b91b604482015290519081900360640190fd5b6001600160a01b0381166000818152601860209081526040808320805460ff191660019081179091556024805491820181559093527f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec490920180546001600160a01b031916841790558151438152339181019190915281517f3d9884fbd11fce9188657c4bcfda7491d3316ce97bd234d981b7be1f012a852f929181900390910190a250565b600c5481565b6025546001600160a01b0316331461458157600080fd5b6001600160a01b0382166000908152601260205260409020546145a490826151ef565b6001600160a01b0383166000908152601260205260409020556013546145ca90826151ef565b6013556001600160a01b038083166000908152600360205260408120546145f39216908361587c565b5050565b60166020526000908152604090205481565b6001600160a01b0380881660008181526008602090815260408083208054600180820190925582517f5fae9ec55a1e547936e0e74d606b44cd5f912f9adcd0bba561fea62d570259e98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f000000000000000000000000000000000000000000000000000000000000000061010286015261012280860182905282518087039091018152610142860180845281519185019190912090859052610162860180845281905260ff8a166101828701526101a286018990526101c2860188905291519095919491926101e2808401939192601f1981019281900390910190855afa158015614744573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166147a0576040805162461bcd60e51b81526020600482015260116024820152707065726d69743a207369676e617475726560781b604482015290519081900360640190fd5b896001600160a01b0316816001600160a01b0316146147fd576040805162461bcd60e51b81526020600482015260146024820152731c195c9b5a5d0e881d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b86421115614844576040805162461bcd60e51b815260206004820152600f60248201526e1c195c9b5a5d0e88195e1c1a5c9959608a1b604482015290519081900360640190fd5b6001600160a01b03808b166000818152600660209081526040808320948e16808452948252918290208c905581518c815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350505050505050505050565b60126020526000908152604090205481565b6025546001600160a01b031633146148d657600080fd5b600181101580156148e8575060038111155b614921576040805162461bcd60e51b8152602060048201526005602482015264217479706560d81b604482015290519081900360640190fd5b80600114156149345760098290556145f3565b806002141561494757600a8290556145f3565b50600b55565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6025546001600160a01b0316331461498f57600080fd5b614999823061529f565b6001600160a01b0382166000908152601260205260409020546149bc9082615028565b6001600160a01b0383166000908152601260205260409020556013546149e29082615028565b6013556001600160a01b038083166000908152600360205260408120546145f392168361587c565b601060209081526000928352604080842090915290825290205481565b601a60209081526000938452604080852082529284528284209052825290205481565b60146020526000908152604090205481565b60026000541415614aa2576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b60026000556025546001600160a01b03163314614abe57600080fd5b6001600160a01b038316301415614aec57602554614ae79030906001600160a01b0316836153fd565b614b06565b602554614b06906001600160a01b03858116911683615681565b614b118383836157e7565b6001600160a01b038216600081815260156020908152604091829020805460ff19169055815143815290810184905281513393927ff7e41ea76f0e7b22ba17dc4cc01fa75cff34ea24f5efe2874f5e175296259050928290030190a35050600160005550565b7f1ac861a6a8532f3704e1768564a53a32774f00d6cf20ccbbdf60ab61378302bc81565b60276020526000908152604090205460ff1681565b61271081565b6023818154811061197d57fe5b602260209081526000938452604080852082529284528284209052825290205481565b60046020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6026546001600160a01b031681565b6025546001600160a01b03163314614c3957600080fd5b6001600160a01b038116600081815260156020908152604091829020805460ff19166001179055815143815291517ffb2bdfce35c242f34d4f9633225d3c34a5892d5eae9ce102de6aac188dd25ba09281900390910190a250565b60005a6029556001600160a01b038616600090815260208052604090205460ff168015614ce657506001600160a01b038087166000908152601160209081526040808320938916835292905220548411155b8015614d0a57506001600160a01b0386166000908152601760205260409020548311155b8015614d3a57506001600160a01b0386166000908152601460205260409020548290614d379042906151ef565b10155b9695505050505050565b60216020526000908152604090205460ff1681565b614d62836132ec565b614d6b57600080fd5b336001600160a01b0384161480614daf57506001600160a01b0380841660009081526022602090815260408083203384528252808320938816835292905220548111155b614db857600080fd5b6001600160a01b03808416600090815260116020908152604080832093881683529290522054811115614dea57600080fd5b614df38261521a565b6001600160a01b0380841660009081526011602090815260408083209388168352929052205481148015614e41576001600160a01b03841660009081526020805260409020805460ff191690555b6001600160a01b03831660009081526020805260409020805460ff19166001179055614e6e8585846157e7565b614e798584846159fa565b6001600160a01b038085166000908152601460205260408082205492861682529020558015614edd576001600160a01b0380851660008181526014602090815260408083208390556017909152808220805494881683529082209390935590815290555b336001600160a01b03851614614f54576001600160a01b038085166000908152602260209081526040808320338452825280832093891683529290522054614f2590836151ef565b6001600160a01b0380861660009081526022602090815260408083203384528252808320938a16835292905220555b846001600160a01b0316836001600160a01b0316856001600160a01b03167f8ea7d2aa01e1e73f355b1a92d0ceeead413bee462dcc66017c6aa115c75672d860405160405180910390a45050505050565b601e60209081526000938452604080852082529284528284209052825290205481565b606060288054806020026020016040519081016040528092919081815260200182805480156132e2576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116132c4575050505050905090565b60008282018381101561410c576040805162461bcd60e51b81526020600482015260066024820152656164643a202b60d01b604482015290519081900360640190fd5b60008261507a5750600061195b565b8282028284828161508757fe5b041461410c576040805162461bcd60e51b815260206004820152600660248201526536bab61d101560d11b604482015290519081900360640190fd5b600061410c8383604051806040016040528060068152602001656469763a202f60d01b815250615a92565b6001600160a01b03821661513f576040805162461bcd60e51b81526020600482015260136024820152725f6275726e3a207a65726f206164647265737360681b604482015290519081900360640190fd5b60408051808201825260168152755f6275726e3a20657863656564732062616c616e636560501b6020808301919091526001600160a01b038516600090815260079091529190912054615193918390615366565b6001600160a01b0383166000908152600760205260409020556002546151b990826151ef565b6002556040805182815290516000916001600160a01b03851691600080516020615f068339815191529181900360200190a35050565b600061410c8383604051806040016040528060068152602001657375623a202d60d01b815250615366565b6001600160a01b038116600090815260146020526040902054611ed8576001600160a01b03166000818152601460209081526040808320429081905560238054600181019091557fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42300180546001600160a01b0319169095179094556016909152902055565b6001600160a01b03808316600090815260208080526040808320805460ff1916600117905560108252808320938516835292905220546152e290829084906159fa565b6001600160a01b0380831660008181526010602090815260408083209486168084529482528083208390558383526011825280832094835293815290839020548351438152429281019290925281840152915190917f3d80dd4660c08288217e88c2d45230220fcd3debf16898013243026e6a2aad05919081900360600190a25050565b600081848411156153f55760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156153ba5781810151838201526020016153a2565b50505050905090810190601f1680156153e75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038316615458576040805162461bcd60e51b815260206004820152601d60248201527f5f7472616e73666572546f6b656e733a207a65726f2061646472657373000000604482015290519081900360640190fd5b6001600160a01b0382166154b3576040805162461bcd60e51b815260206004820152601d60248201527f5f7472616e73666572546f6b656e733a207a65726f2061646472657373000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600760205260409020546154d690826151ef565b6001600160a01b0380851660009081526007602052604080822093909355908416815220546155059082615028565b6001600160a01b038084166000818152600760209081526040918290209490945580518581529051919392871692600080516020615f0683398151915292918290030190a3505050565b60025461555c9082615028565b6002556001600160a01b0382166000908152600760205260409020546155829082615028565b6001600160a01b0383166000818152600760209081526040808320949094558351858152935192939192600080516020615f068339815191529281900390910190a35050565b6001600160a01b03821660009081526011602090815260408083203084529091529020546155f69082615028565b6001600160a01b03831660009081526011602090815260408083203084529091529020556013546156279082615028565b6013556001600160a01b0380831660009081526003602052604081205461564f92168361587c565b6040805182815290516001600160a01b038416913391600080516020615f068339815191529181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526156d3908490615af7565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052615732908590615af7565b50505050565b6001600160a01b03808316600081815260036020908152604080832054601183528184203085528352818420549484526012909252822054931692909161577f9190615028565b6001600160a01b0385811660008181526003602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461573282848361587c565b6001600160a01b0380831660009081526011602090815260408083209387168352929052205461581790826151ef565b6001600160a01b038084166000908152601160209081526040808320938816808452939091529020919091553014156156d35760135461585790826151ef565b6013556001600160a01b038083166000908152600360205260408120546156d3921690835b816001600160a01b0316836001600160a01b03161415801561589e5750600081115b156156d3576001600160a01b03831615615969576001600160a01b03831660009081526005602052604081205463ffffffff1690816158de576000615910565b6001600160a01b038516600090815260046020908152604080832063ffffffff60001987011684529091529020600101545b9050600061595784604051806040016040528060168152602001755f6d6f7665566f7465733a20756e646572666c6f777360501b815250846153669092919063ffffffff16565b905061596586848484615cb2565b5050505b6001600160a01b038216156156d3576001600160a01b03821660009081526005602052604081205463ffffffff1690816159a45760006159d6565b6001600160a01b038416600090815260046020908152604080832063ffffffff60001987011684529091529020600101545b905060006159e48285615028565b90506159f285848484615cb2565b505050505050565b6001600160a01b03808316600090815260116020908152604080832093871683529290522054615a2a9082615028565b6001600160a01b038084166000908152601160209081526040808320938816808452939091529020919091553014156156d357601354615a6a9082615028565b6013556001600160a01b038083166000908152600360205260408120546156d392168361587c565b60008183615ae15760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156153ba5781810151838201526020016153a2565b506000838581615aed57fe5b0495945050505050565b615b09826001600160a01b0316615e34565b615b51576040805162461bcd60e51b815260206004820152601460248201527314d85999515490cc8c0e880858dbdb9d1c9858dd60621b604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310615b8f5780518252601f199092019160209182019101615b70565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114615bf1576040519150601f19603f3d011682016040523d82523d6000602084013e615bf6565b606091505b509150915081615c4d576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561573257808060200190516020811015615c6957600080fd5b5051615732576040805162461bcd60e51b815260206004820152601360248201527214d85999515490cc8c0e88085cdd58d8d95959606a1b604482015290519081900360640190fd5b6000615cf3436040518060400160405280601981526020017f5f7772697465436865636b706f696e743a203332206269747300000000000000815250615e70565b905060008463ffffffff16118015615d3c57506001600160a01b038516600090815260046020908152604080832063ffffffff6000198901811685529252909120548282169116145b15615d79576001600160a01b038516600090815260046020908152604080832063ffffffff60001989011684529091529020600101829055615dea565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600484528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260059092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590615e6857508115155b949350505050565b6000816401000000008410615ec65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156153ba5781810151838201526020016153a2565b509192915050565b60408051808201909152600080825260208201529056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef7472616e7366657246726f6d3a2065786365656473207370656e64657220616c6c6f77616e6365a264697066735822122019036031781fed25cc628ed57719d0e5f8e43a44f5e5dfad54d6b55b23fce92264736f6c634300060c0033

Deployed Bytecode

0x6080604052600436106105235760003560e01c8063782d6fe1116102a2578063ce6a088011610165578063eb421f3b116100cc578063f75f9f7b11610085578063f75f9f7b1461177d578063f9d46cf2146117b0578063f9f92be4146117ff578063fc23583814611832578063fede70081461187b578063ffb0a4a0146118c057610523565b8063eb421f3b14611652578063ec342ad014611685578063ec4515dd1461169a578063f069bc69146116c4578063f1127ed814611709578063f39c38a01461176857610523565b8063de63298d1161011e578063de63298d1461150e578063deac354114611547578063def7084414611582578063e326ac43146115c7578063e74f8239146115fa578063e7a324dc1461163d57610523565b8063ce6a0880146113a6578063d454019d146113df578063d505accf14611412578063d8bff5a514611470578063db3b1cbc146114a3578063dd62ed3e146114d357610523565b8063a5d059ca11610209578063b600702a116101c2578063b600702a1461127d578063bb49096d146112b0578063c1c1d218146112f5578063c3cda5201461130a578063c5198abc1461135e578063c57981b51461139157610523565b8063a5d059ca1461115d578063a9059cbb14611196578063ab033ea9146111cf578063b0103b1a14611202578063b105e39f14611235578063b4b5ea571461124a57610523565b80638d9acd2e1161025b5780638d9acd2e1461102c57806395d89b411461106f5780639af7728414611084578063a0712d68146110bf578063a39744b5146110e9578063a515366a1461112457610523565b8063782d6fe114610ef05780637ecebe0014610f295780638071198914610f5c5780638322fff214610f8f57806383baa69314610fa457806388b4ac8314610fe957610523565b80634395d8ba116103ea578063637cd7f0116103515780636dab5dcf1161030a5780636dab5dcf14610db25780636fcfff4514610dd857806370a0823114610e2457806372da828a14610e5757806374a8f10314610e8a5780637724ff6814610ebd57610523565b8063637cd7f014610c2e57806364bb43ee14610c695780636703324714610c9c57806367da318414610cdf57806368581ebd14610d1a5780636ba42aaa14610d7f57610523565b8063587cde1e116103a3578063587cde1e14610b305780635aa6e67514610b635780635c19a95c14610b785780635feeb79414610bab578063603b4d1414610bde578063603c686014610bf357610523565b80634395d8ba146109f457806344d96e9514610a395780634b3fde2114610a4e57806351cff8d914610a8757806352a4de2914610aba57806355ea6c4714610afd57610523565b80631ff5f3da1161048e57806330adf81f1161044757806330adf81f146108e9578063313ce567146108fe57806337feca84146109295780633bbd64bc146109645780633d1f0bb91461099757806342966c68146109ca57610523565b80631ff5f3da146107c557806320606b701461080a5780632119a62a1461081f578063238efcbc1461085857806323b872dd1461086d578063278abc5e146108b057610523565b806318160ddd116104e057806318160ddd146106c65780631992d206146106db5780631b44555e146107205780631b7a1fb2146107535780631c5a9d9c1461077d5780631df0de13146107b057610523565b806306fdde0314610528578063095ea7b3146105b257806309aff02b146105ff5780630c33c522146106305780631101eb411461065a5780631778e29c1461069f575b600080fd5b34801561053457600080fd5b5061053d6118d5565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561057757818101518382015260200161055f565b50505050905090810190601f1680156105a45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105be57600080fd5b506105eb600480360360408110156105d557600080fd5b506001600160a01b0381351690602001356118fa565b604080519115158252519081900360200190f35b34801561060b57600080fd5b50610614611961565b604080516001600160a01b039092168252519081900360200190f35b34801561063c57600080fd5b506106146004803603602081101561065357600080fd5b5035611970565b34801561066657600080fd5b5061069d6004803603606081101561067d57600080fd5b506001600160a01b03813581169160208101359091169060400135611997565b005b3480156106ab57600080fd5b506106b4611d5e565b60408051918252519081900360200190f35b3480156106d257600080fd5b506106b4611d82565b3480156106e757600080fd5b506106b4600480360360608110156106fe57600080fd5b506001600160a01b038135811691602081013582169160409091013516611d88565b34801561072c57600080fd5b506106b46004803603602081101561074357600080fd5b50356001600160a01b0316611dab565b34801561075f57600080fd5b506106146004803603602081101561077657600080fd5b5035611dbd565b34801561078957600080fd5b5061069d600480360360208110156107a057600080fd5b50356001600160a01b0316611dca565b3480156107bc57600080fd5b506106b4611edb565b3480156107d157600080fd5b506105eb600480360360808110156107e857600080fd5b506001600160a01b038135169060208101359060408101359060600135611ee1565b34801561081657600080fd5b506106b4611fa2565b34801561082b57600080fd5b5061069d6004803603604081101561084257600080fd5b506001600160a01b038135169060200135611fc6565b34801561086457600080fd5b5061069d612119565b34801561087957600080fd5b506105eb6004803603606081101561089057600080fd5b506001600160a01b0381358116916020810135909116906040013561218a565b3480156108bc57600080fd5b5061069d600480360360408110156108d357600080fd5b506001600160a01b03813516906020013561226c565b3480156108f557600080fd5b506106b4612387565b34801561090a57600080fd5b506109136123ab565b6040805160ff9092168252519081900360200190f35b34801561093557600080fd5b506106b46004803603604081101561094c57600080fd5b506001600160a01b03813581169160200135166123b0565b34801561097057600080fd5b506105eb6004803603602081101561098757600080fd5b50356001600160a01b03166123cd565b3480156109a357600080fd5b506105eb600480360360208110156109ba57600080fd5b50356001600160a01b03166123e1565b3480156109d657600080fd5b5061069d600480360360208110156109ed57600080fd5b50356123f6565b348015610a0057600080fd5b5061069d60048036036060811015610a1757600080fd5b506001600160a01b038135811691602081013582169160409091013516612400565b348015610a4557600080fd5b506106b4612749565b348015610a5a57600080fd5b5061069d60048036036040811015610a7157600080fd5b506001600160a01b03813516906020013561274f565b348015610a9357600080fd5b5061069d60048036036020811015610aaa57600080fd5b50356001600160a01b0316612966565b348015610ac657600080fd5b5061069d60048036036060811015610add57600080fd5b506001600160a01b03813581169160208101359091169060400135612ba8565b348015610b0957600080fd5b5061069d60048036036020811015610b2057600080fd5b50356001600160a01b0316612e6c565b348015610b3c57600080fd5b5061061460048036036020811015610b5357600080fd5b50356001600160a01b0316612edb565b348015610b6f57600080fd5b50610614612ef6565b348015610b8457600080fd5b5061069d60048036036020811015610b9b57600080fd5b50356001600160a01b0316612f05565b348015610bb757600080fd5b5061069d60048036036020811015610bce57600080fd5b50356001600160a01b0316612f0f565b348015610bea57600080fd5b506106b4612f98565b348015610bff57600080fd5b5061069d60048036036040811015610c1657600080fd5b506001600160a01b0381358116916020013516612f9e565b348015610c3a57600080fd5b506106b460048036036040811015610c5157600080fd5b506001600160a01b03813581169160200135166131a1565b348015610c7557600080fd5b5061069d60048036036020811015610c8c57600080fd5b50356001600160a01b03166131be565b348015610ca857600080fd5b506105eb60048036036060811015610cbf57600080fd5b506001600160a01b038135811691602081013590911690604001356131f6565b348015610ceb57600080fd5b506106b460048036036040811015610d0257600080fd5b506001600160a01b038135811691602001351661326d565b348015610d2657600080fd5b50610d2f61328a565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610d6b578181015183820152602001610d53565b505050509050019250505060405180910390f35b348015610d8b57600080fd5b506105eb60048036036020811015610da257600080fd5b50356001600160a01b03166132ec565b61069d60048036036020811015610dc857600080fd5b50356001600160a01b0316613310565b348015610de457600080fd5b50610e0b60048036036020811015610dfb57600080fd5b50356001600160a01b0316613467565b6040805163ffffffff9092168252519081900360200190f35b348015610e3057600080fd5b506106b460048036036020811015610e4757600080fd5b50356001600160a01b031661347f565b348015610e6357600080fd5b5061069d60048036036020811015610e7a57600080fd5b50356001600160a01b031661349a565b348015610e9657600080fd5b5061069d60048036036020811015610ead57600080fd5b50356001600160a01b03166134d3565b348015610ec957600080fd5b506106b460048036036020811015610ee057600080fd5b50356001600160a01b031661353c565b348015610efc57600080fd5b506106b460048036036040811015610f1357600080fd5b506001600160a01b03813516906020013561354e565b348015610f3557600080fd5b506106b460048036036020811015610f4c57600080fd5b50356001600160a01b031661375d565b348015610f6857600080fd5b5061069d60048036036020811015610f7f57600080fd5b50356001600160a01b031661376f565b348015610f9b57600080fd5b506106146137e7565b348015610fb057600080fd5b506106b460048036036060811015610fc757600080fd5b506001600160a01b0381358116916020810135821691604090910135166137ec565b348015610ff557600080fd5b5061069d6004803603606081101561100c57600080fd5b506001600160a01b0381358116916020810135909116906040013561380f565b34801561103857600080fd5b5061069d6004803603606081101561104f57600080fd5b506001600160a01b03813581169160208101359091169060400135613ac4565b34801561107b57600080fd5b5061053d613c10565b34801561109057600080fd5b506106b4600480360360408110156110a757600080fd5b506001600160a01b0381358116916020013516613c2f565b3480156110cb57600080fd5b5061069d600480360360208110156110e257600080fd5b5035613c4c565b3480156110f557600080fd5b506106b46004803603604081101561110c57600080fd5b506001600160a01b0381358116916020013516613c79565b34801561113057600080fd5b5061069d6004803603604081101561114757600080fd5b506001600160a01b038135169060200135613c96565b34801561116957600080fd5b5061069d6004803603604081101561118057600080fd5b506001600160a01b038135169060200135613f0b565b3480156111a257600080fd5b506105eb600480360360408110156111b957600080fd5b506001600160a01b038135169060200135613feb565b3480156111db57600080fd5b5061069d600480360360208110156111f257600080fd5b50356001600160a01b0316614001565b34801561120e57600080fd5b506105eb6004803603602081101561122557600080fd5b50356001600160a01b031661403a565b34801561124157600080fd5b50610d2f61404f565b34801561125657600080fd5b506106b46004803603602081101561126d57600080fd5b50356001600160a01b03166140af565b34801561128957600080fd5b5061069d600480360360208110156112a057600080fd5b50356001600160a01b0316614113565b3480156112bc57600080fd5b506106b4600480360360608110156112d357600080fd5b506001600160a01b0381358116916020810135821691604090910135166141e6565b34801561130157600080fd5b506106b4614209565b34801561131657600080fd5b5061069d600480360360c081101561132d57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a0013561420f565b34801561136a57600080fd5b5061069d6004803603602081101561138157600080fd5b50356001600160a01b031661444d565b34801561139d57600080fd5b506106b4614564565b3480156113b257600080fd5b5061069d600480360360408110156113c957600080fd5b506001600160a01b03813516906020013561456a565b3480156113eb57600080fd5b506106b46004803603602081101561140257600080fd5b50356001600160a01b03166145f7565b34801561141e57600080fd5b5061069d600480360360e081101561143557600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135614609565b34801561147c57600080fd5b506106b46004803603602081101561149357600080fd5b50356001600160a01b03166148ad565b3480156114af57600080fd5b5061069d600480360360408110156114c657600080fd5b50803590602001356148bf565b3480156114df57600080fd5b506106b4600480360360408110156114f657600080fd5b506001600160a01b038135811691602001351661494d565b34801561151a57600080fd5b5061069d6004803603604081101561153157600080fd5b506001600160a01b038135169060200135614978565b34801561155357600080fd5b506106b46004803603604081101561156a57600080fd5b506001600160a01b0381358116916020013516614a0a565b34801561158e57600080fd5b506106b4600480360360608110156115a557600080fd5b506001600160a01b038135811691602081013582169160409091013516614a27565b3480156115d357600080fd5b506106b4600480360360208110156115ea57600080fd5b50356001600160a01b0316614a4a565b34801561160657600080fd5b5061069d6004803603606081101561161d57600080fd5b506001600160a01b03813581169160208101359091169060400135614a5c565b34801561164957600080fd5b506106b4614b77565b34801561165e57600080fd5b506105eb6004803603602081101561167557600080fd5b50356001600160a01b0316614b9b565b34801561169157600080fd5b506106b4614bb0565b3480156116a657600080fd5b50610614600480360360208110156116bd57600080fd5b5035614bb6565b3480156116d057600080fd5b506106b4600480360360608110156116e757600080fd5b506001600160a01b038135811691602081013582169160409091013516614bc3565b34801561171557600080fd5b506117486004803603604081101561172c57600080fd5b5080356001600160a01b0316906020013563ffffffff16614be6565b6040805163ffffffff909316835260208301919091528051918290030190f35b34801561177457600080fd5b50610614614c13565b34801561178957600080fd5b5061069d600480360360208110156117a057600080fd5b50356001600160a01b0316614c22565b3480156117bc57600080fd5b506105eb600480360360a08110156117d357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060800135614c94565b34801561180b57600080fd5b506105eb6004803603602081101561182257600080fd5b50356001600160a01b0316614d44565b34801561183e57600080fd5b5061069d6004803603608081101561185557600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135614d59565b34801561188757600080fd5b506106b46004803603606081101561189e57600080fd5b506001600160a01b038135811691602081013582169160409091013516614fa5565b3480156118cc57600080fd5b50610d2f614fc8565b6040518060400160405280600981526020016852656c61796572563360b81b81525081565b3360008181526006602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6001546001600160a01b031681565b6024818154811061197d57fe5b6000918252602090912001546001600160a01b0316905081565b336000908152601f602090815260408083206001600160a01b038781168552908352818420908616845290915290205415611a0a576040805162461bcd60e51b815260206004820152600e60248201526d1c195b991a5b99c818dc99591a5d60921b604482015290519081900360640190fd5b336000818152601b602090815260408083206001600160a01b03888116808652918452828520908816808652908452828520429055948452601c835281842090845282528083209383529290522054611a639082615028565b336000818152601c602090815260408083206001600160a01b03898116808652918452828520908916808652818552838620889055958552601a8452828520918552908352818420948452938252909120549190521015611b00576040805162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b604482015290519081900360640190fd5b6040805163cbc3ab5360e01b81526001600160a01b038516600482015230602482015290516000917357694b69636d4c7daec1e1cc7901ce48ac28563d9163cbc3ab5391604480820192602092909190829003018186803b158015611b6457600080fd5b505af4158015611b78573d6000803e3d6000fd5b505050506040513d6020811015611b8e57600080fd5b5051604080516318160ddd60e01b81529051919250600091611c17916001600160a01b038816916318160ddd91600480820192602092909190829003018186803b158015611bdb57600080fd5b505afa158015611bef573d6000803e3d6000fd5b505050506040513d6020811015611c0557600080fd5b5051611c11848661506b565b906150c3565b6001600160a01b0385166000908152601960209081526040808320308452909152902054909150811115611c9d576001600160a01b038416600090815260196020908152604080832030808552925290912054611c7491906150ee565b6001600160a01b0384166000908152601960209081526040808320308452909152812055611cfa565b611ca730826150ee565b6001600160a01b0384166000908152601960209081526040808320308452909152902054611cd590826151ef565b6001600160a01b03851660009081526019602090815260408083203084529091529020555b336001600160a01b0316856001600160a01b0316856001600160a01b03167f6d962fe34dd0cf9a9df3e12a7b8ddfe5f790b3f11668553455d7b52db70a07be4387604051808381526020018281526020019250505060405180910390a45050505050565b7fd7bfe04cc15416ad6694c107f349d256a24c463f40d0140d4405b1767718be9581565b60025481565b601f60209081526000938452604080852082529284528284209052825290205481565b60176020526000908152604090205481565b6028818154811061197d57fe5b3360009081526021602052604090205460ff1615611e1d576040805162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b604482015290519081900360640190fd5b336000908152600d602090815260408083206001600160a01b038516845290915290205415801590611e8a5750600954336000908152600d602090815260408083206001600160a01b03861684529091528120549091611e8791611e8091615028565b42906151ef565b10155b611ec5576040805162461bcd60e51b8152602060048201526007602482015266626f6e64696e6760c81b604482015290519081900360640190fd5b611ece3361521a565b611ed8338261529f565b50565b600b5481565b60005a6029556001600160a01b038516600090815260208052604090205460ff168015611f4557506001600160a01b03851660009081526012602090815260408083205460118352818420308552909252909120548591611f429190615028565b10155b8015611f6957506001600160a01b0385166000908152601760205260409020548311155b8015611f9957506001600160a01b0385166000908152601460205260409020548290611f969042906151ef565b10155b95945050505050565b7f797cfab58fcb15f590eb8e4252d5c228ff88f94f907e119e80c4393a946e8f3581565b3360009081526018602052604090205460ff1661201a576040805162461bcd60e51b815260206004820152600d60248201526c3932b1b2b4b83a1d1010b537b160991b604482015290519081900360640190fd5b6040805180820182526011815270696e737566666369656e742066756e647360781b60208083019190915233600090815260198252838120600e82529091529190912054612069918390615366565b336000908152601960209081526040808320600e84528252808320939093556001600160a01b0385168083526016909152828220429055915183156108fc0291849190818181858888f193505050501580156120c9573d6000803e3d6000fd5b50604080514381526020810183905281516001600160a01b038516923392600e927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e8929181900390910190a45050565b6026546001600160a01b03163314612166576040805162461bcd60e51b815260206004820152600b60248201526a10b832b73234b733a3b7bb60a91b604482015290519081900360640190fd5b602654602580546001600160a01b0319166001600160a01b03909216919091179055565b6001600160a01b0383166000818152600660209081526040808320338085529252822054919290919082148015906121c457506000198114155b156122555760006121f085604051806060016040528060278152602001615f2660279139849190615366565b6001600160a01b0380891660008181526006602090815260408083209489168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b6122608686866153fd565b50600195945050505050565b6025546001600160a01b0316331461228357600080fd5b6001600160a01b03821660009081526018602052604090205460ff166122d9576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6001600160a01b03821660009081526019602090815260408083203084529091529020546123079082615028565b6001600160a01b038316600090815260196020908152604080832030808552925290912091909155612339908261554f565b6040805143815260208101839052815133926001600160a01b0386169230927fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a929181900390910190a45050565b7f5fae9ec55a1e547936e0e74d606b44cd5f912f9adcd0bba561fea62d570259e981565b601281565b600d60209081526000928352604080842090915290825290205481565b602080526000908152604090205460ff1681565b60186020526000908152604090205460ff1681565b611ed833826150ee565b6001600160a01b03821660009081526027602052604090205460ff16612455576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b6001600160a01b038084166000908152601e6020908152604080832086851684528252808320938516835292905220546124c0576040805162461bcd60e51b81526020600482015260076024820152661b9bc8189bdb9960ca1b604482015290519081900360640190fd5b600b546001600160a01b038085166000908152601e6020908152604080832087851684528252808320938616835292905290812054909161250491611e8091615028565b1015612541576040805162461bcd60e51b8152602060048201526007602482015266626f6e64696e6760c81b604482015290519081900360640190fd5b6040805163cbc3ab5360e01b81526001600160a01b038416600482015230602482015290516000917357694b69636d4c7daec1e1cc7901ce48ac28563d9163cbc3ab5391604480820192602092909190829003018186803b1580156125a557600080fd5b505af41580156125b9573d6000803e3d6000fd5b505050506040513d60208110156125cf57600080fd5b5051604080516318160ddd60e01b81529051919250600091612683916001600160a01b038716916318160ddd91600480820192602092909190829003018186803b15801561261c57600080fd5b505afa158015612630573d6000803e3d6000fd5b505050506040513d602081101561264657600080fd5b50516001600160a01b038088166000908152601f602090815260408083208a85168452825280832093891683529290522054611c1190859061506b565b905061268f308261554f565b6001600160a01b03831660009081526019602090815260408083203084529091529020546126bd9082615028565b6001600160a01b038085166000818152601960209081526040808320308452825280832095909555898416808352601f8252858320948a168084529482528583208484528252858320929092558451438152908101869052845191947fa90666688fb32254f45a367c38fbcd5f2664432b061a4354d9d3c9a7abcbec5b92918290030190a45050505050565b60135481565b3360009081526018602052604090205460ff1661279c576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6001546001600160a01b031663525ea6316127ba5a602954906151ef565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156127ee57600080fd5b505afa158015612802573d6000803e3d6000fd5b505050506040513d602081101561281857600080fd5b505181111561285a576040805162461bcd60e51b81526020600482015260096024820152681b585e081b1a5b5a5d60ba1b604482015290519081900360640190fd5b6040805180820182526011815270696e737566666369656e742066756e647360781b6020808301919091523360009081526019825283812030825290915291909120546128a8918390615366565b3360009081526019602090815260408083203084528252808320939093556001600160a01b038516825260169052204290556128e482826155c8565b6001600160a01b0382166000908152601760205260409020546129079082615028565b6001600160a01b03831660008181526017602090815260409182902093909355805143815292830184905280519192339230927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e8928290030190a45050565b600260005414156129ac576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b60026000908155338152600e602090815260408083206001600160a01b038516845290915290205415801590612a165750600a54336000908152600e602090815260408083206001600160a01b03861684529091528120549091612a1391611e8091615028565b10155b612a53576040805162461bcd60e51b8152602060048201526009602482015268756e626f6e64696e6760b81b604482015290519081900360640190fd5b3360009081526015602052604090205460ff1615612aa3576040805162461bcd60e51b8152602060048201526008602482015267646973707574657360c01b604482015290519081900360640190fd5b6001600160a01b038116301415612ae857336000818152600f602090815260408083206001600160a01b0386168452909152902054612ae39130916153fd565b612b17565b336000818152600f602090815260408083206001600160a01b038616808552925290912054612b179290615681565b336000818152600f602090815260408083206001600160a01b038616845282529182902054825143815242928101929092528183015290517f095ae150bb74a0755c30809eb8d4aa810b63b66b9ca96a1945bbb03d809df2e99181900360600190a2336000908152600f602090815260408083206001600160a01b0394909416835292905290812081905560019055565b60026000541415612bee576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b600260009081556001600160a01b03841681526027602052604090205460ff16612c47576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b612c5c6001600160a01b0384163330846156d8565b336000908152601a602090815260408083206001600160a01b0387811685529083528184209086168452909152902054612c969082615028565b336000818152601a602090815260408083206001600160a01b0389811680865291845282852090891680865290845282852096909655848452601e835281842081855283528184208685528352818420429055938352601f825280832093835292815282822093825292909252902054612d109082615028565b336000908152601f602090815260408083206001600160a01b038881168552908352818420908716845282528083209390935560189052205460ff16158015612d7e5750600a546001600160a01b0383166000908152601d60205260409020544291612d7c9190615028565b105b15612e05576025546040805163dc380cbb60e01b81526001600160a01b0385811660048301529151919092169163dc380cbb91602480830192600092919082900301818387803b158015612dd157600080fd5b505af1158015612de5573d6000803e3d6000fd5b5050506001600160a01b0383166000908152601d60205260409020429055505b336001600160a01b0316836001600160a01b0316836001600160a01b03167fe1cb44a16adbd63a44f65c279b23b8f447b2c6e120a2bc7f004758b446e05ed14385604051808381526020018281526020019250505060405180910390a45050600160005550565b6025546001600160a01b03163314612e8357600080fd5b6001600160a01b038116600081815260156020908152604091829020805460ff19169055815143815291517f7574a4a2c81b3099d59aaf15526ea966e1e2886afd21bf4a350af7af22db3a709281900390910190a250565b6003602052600090815260409020546001600160a01b031681565b6025546001600160a01b031681565b611ed83382615738565b600154611ed89082906001600160a01b031663525ea631612f335a602954906151ef565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612f6757600080fd5b505afa158015612f7b573d6000803e3d6000fd5b505050506040513d6020811015612f9157600080fd5b505161274f565b600a5481565b336000908152601b602090815260408083206001600160a01b0386811685529083528184209085168452909152902054613008576040805162461bcd60e51b81526020600482015260066024820152651d5b989bdb9960d21b604482015290519081900360640190fd5b600a54336000908152601b602090815260408083206001600160a01b0387811685529083528184209086168452909152812054909161304a91611e8091615028565b1015613089576040805162461bcd60e51b8152602060048201526009602482015268756e626f6e64696e6760b81b604482015290519081900360640190fd5b336000818152601c602090815260408083206001600160a01b0387811680865291845282852090871680865290845282852054958552601a84528285209185529083528184209084529091529020546130e290826151ef565b336000818152601a602090815260408083206001600160a01b0389811680865291845282852090891680865290845282852096909655848452601c835281842081855283528184209584529490915281205561313f919083615681565b336001600160a01b0316836001600160a01b0316836001600160a01b03167fb69fc9f6d19ed402461251491f86c736bfcbe966e9584d3fb8a0057b313b69204385604051808381526020018281526020019250505060405180910390a4505050565b601960209081526000928352604080842090915290825290205481565b6025546001600160a01b031633146131d557600080fd5b6001600160a01b03166000908152602760205260409020805460ff19169055565b3360008181526022602090815260408083206001600160a01b038881168086529184528285209088168086529084528285208790558251878152925194959194909391927f685b9cfdc2d085936358cc62c0e05ac6a54fee3c129f0184a4f991860f88798b92908290030190a45060019392505050565b600f60209081526000928352604080842090915290825290205481565b606060248054806020026020016040519081016040528092919081815260200182805480156132e257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116132c4575b5050505050905090565b60005a602955506001600160a01b0316600090815260208052604090205460ff1690565b6001600160a01b03811660009081526018602052604090205460ff16613366576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6000613383612710611c11600c543461506b90919063ffffffff16565b90506133bd61339234836151ef565b6001600160a01b0384166000908152601960209081526040808320600e845290915290205490615028565b6001600160a01b038084166000908152601960209081526040808320600e8452909152808220939093556025549251929091169183156108fc0291849190818181858888f19350505050158015613418573d6000803e3d6000fd5b5060408051438152346020820152815133926001600160a01b03861692600e927fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a929181900390910190a45050565b60056020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526007602052604090205490565b6025546001600160a01b031633146134b157600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6025546001600160a01b031633146134ea57600080fd5b6001600160a01b038116600090815260208080526040808320805460ff1990811690915560218352818420805490911660011790556011825280832030808552925290912054611ed891908390614a5c565b601d6020526000908152604090205481565b6000438210613595576040805162461bcd60e51b815260206004820152600e60248201526d33b2ba283934b7b92b37ba32b99d60911b604482015290519081900360640190fd5b6001600160a01b03831660009081526005602052604090205463ffffffff16806135c357600091505061195b565b6001600160a01b038416600090815260046020908152604080832063ffffffff600019860181168552925290912054168310613632576001600160a01b03841660009081526004602090815260408083206000199490940163ffffffff1683529290522060010154905061195b565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff1683101561366d57600091505061195b565b600060001982015b8163ffffffff168163ffffffff16111561372657600282820363ffffffff1604810361369f615ece565b506001600160a01b038716600090815260046020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152908714156137015760200151945061195b9350505050565b805163ffffffff168711156137185781935061371f565b6001820392505b5050613675565b506001600160a01b038516600090815260046020908152604080832063ffffffff9094168352929052206001015491505092915050565b60086020526000908152604090205481565b6025546001600160a01b0316331461378657600080fd5b6001600160a01b038116600081815260186020908152604091829020805460ff191690558151438152339181019190915281517f2ca18fdfae50f1042480d285d21f6706aa6abbd567d60a044b5bec07ccfee648929181900390910190a250565b600e81565b601c60209081526000938452604080852082529284528284209052825290205481565b60026000541415613855576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b600260009081556001600160a01b03831681526018602052604090205460ff166138af576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156138fe57600080fd5b505afa158015613912573d6000803e3d6000fd5b505050506040513d602081101561392857600080fd5b505190506139416001600160a01b0385163330856156d8565b60006139c682866001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561399457600080fd5b505afa1580156139a8573d6000803e3d6000fd5b505050506040513d60208110156139be57600080fd5b5051906151ef565b905060006139e5612710611c11600c548561506b90919063ffffffff16565b9050613a206139f483836151ef565b6001600160a01b038088166000908152601960209081526040808320938c168352929052205490615028565b6001600160a01b0380871660009081526019602090815260408083208b8516808552925290912092909255602554613a5a92911683615681565b336001600160a01b0316856001600160a01b0316876001600160a01b03167fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a4386604051808381526020018281526020019250505060405180910390a45050600160005550505050565b3360009081526018602052604090205460ff16613b18576040805162461bcd60e51b815260206004820152600d60248201526c3932b1b2b4b83a1d1010b537b160991b604482015290519081900360640190fd5b604080518082018252601a81527f726563656970743a20696e737566666369656e742066756e6473000000000000602080830191909152336000908152601982528381206001600160a01b03881682529091529190912054613b7b918390615366565b3360009081526019602090815260408083206001600160a01b0388811680865291845282852095909555938616835260169091529020429055613bbf908383615681565b604080514381526020810183905281516001600160a01b03808616933393918816927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e89281900390910190a4505050565b6040518060400160405280600381526020016229262960e91b81525081565b600e60209081526000928352604080842090915290825290205481565b6025546001600160a01b03163314613c6357600080fd5b602554611ed8906001600160a01b03168261554f565b601160209081526000928352604080842090915290825290205481565b60026000541415613cdc576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b600260009081553381526021602052604090205460ff1615613d33576040805162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b604482015290519081900360640190fd5b336000908152600d602090815260408083206001600160a01b0386168085529252909120429055301415613d7157613d6c3330836153fd565b613e58565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613dc057600080fd5b505afa158015613dd4573d6000803e3d6000fd5b505050506040513d6020811015613dea57600080fd5b50519050613e036001600160a01b0384163330856156d8565b613e5481846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561399457600080fd5b9150505b3360009081526010602090815260408083206001600160a01b0386168452909152902054613e869082615028565b3360008181526010602090815260408083206001600160a01b03881680855290835281842095909555838352600d82528083209483529381529083902054835143815291820152808301849052915190917fa150b7ad789014c0171a2873708daadbdbf87457d90d3896eaf0907e5b225ae4919081900360600190a250506001600055565b336000818152600e602090815260408083206001600160a01b03871684529091529020429055613f3d908390836157e7565b336000908152600f602090815260408083206001600160a01b0386168452909152902054613f6b9082615028565b336000818152600f602090815260408083206001600160a01b03881680855290835281842095909555838352600e82528083209483529381529083902054835143815291820152808301849052915190917f50eca01e7e4362bc0279a45c4fbe68f263771dd3418b0a29c93008759f433b2e919081900360600190a25050565b6000613ff83384846153fd565b50600192915050565b6025546001600160a01b0316331461401857600080fd5b602680546001600160a01b0319166001600160a01b0392909216919091179055565b60156020526000908152604090205460ff1681565b606060238054806020026020016040519081016040528092919081815260200182805480156132e2576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116132c4575050505050905090565b6001600160a01b03811660009081526005602052604081205463ffffffff16806140da57600061410c565b6001600160a01b038316600090815260046020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b6025546001600160a01b0316331461412a57600080fd5b6001600160a01b03811660009081526027602052604090205460ff1615614180576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b6001600160a01b03166000818152602760205260408120805460ff191660019081179091556028805491820181559091527fe16da923a2d88192e5070f37b4571d58682c0d66212ec634d495f33de3f77ab50180546001600160a01b0319169091179055565b601b60209081526000938452604080852082529284528284209052825290205481565b60095481565b604080517f1ac861a6a8532f3704e1768564a53a32774f00d6cf20ccbbdf60ab61378302bc6020808301919091526001600160a01b038916828401526060820188905260808083018890528351808403909101815260a08301845280519082012061190160f01b60c08401527fd7bfe04cc15416ad6694c107f349d256a24c463f40d0140d4405b1767718be9560c284015260e2808401829052845180850390910181526101028401808652815191840191909120600091829052610122850180875281905260ff891661014286015261016285018890526101828501879052945191949390926001926101a280840193601f198301929081900390910190855afa158015614322573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661437f576040805162461bcd60e51b815260206004820152601260248201527164656c656761746542795369673a2073696760701b604482015290519081900360640190fd5b6001600160a01b038116600090815260086020526040902080546001810190915588146143ea576040805162461bcd60e51b815260206004820152601460248201527364656c656761746542795369673a206e6f6e636560601b604482015290519081900360640190fd5b86421115614438576040805162461bcd60e51b815260206004820152601660248201527519195b1959d85d19509e54da59ce88195e1c1a5c995960521b604482015290519081900360640190fd5b614442818a615738565b505050505050505050565b6025546001600160a01b0316331461446457600080fd5b6001600160a01b03811660009081526018602052604090205460ff16156144be576040805162461bcd60e51b81526020600482015260096024820152683537b11035b737bbb760b91b604482015290519081900360640190fd5b6001600160a01b0381166000818152601860209081526040808320805460ff191660019081179091556024805491820181559093527f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec490920180546001600160a01b031916841790558151438152339181019190915281517f3d9884fbd11fce9188657c4bcfda7491d3316ce97bd234d981b7be1f012a852f929181900390910190a250565b600c5481565b6025546001600160a01b0316331461458157600080fd5b6001600160a01b0382166000908152601260205260409020546145a490826151ef565b6001600160a01b0383166000908152601260205260409020556013546145ca90826151ef565b6013556001600160a01b038083166000908152600360205260408120546145f39216908361587c565b5050565b60166020526000908152604090205481565b6001600160a01b0380881660008181526008602090815260408083208054600180820190925582517f5fae9ec55a1e547936e0e74d606b44cd5f912f9adcd0bba561fea62d570259e98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527fd7bfe04cc15416ad6694c107f349d256a24c463f40d0140d4405b1767718be9561010286015261012280860182905282518087039091018152610142860180845281519185019190912090859052610162860180845281905260ff8a166101828701526101a286018990526101c2860188905291519095919491926101e2808401939192601f1981019281900390910190855afa158015614744573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166147a0576040805162461bcd60e51b81526020600482015260116024820152707065726d69743a207369676e617475726560781b604482015290519081900360640190fd5b896001600160a01b0316816001600160a01b0316146147fd576040805162461bcd60e51b81526020600482015260146024820152731c195c9b5a5d0e881d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b86421115614844576040805162461bcd60e51b815260206004820152600f60248201526e1c195c9b5a5d0e88195e1c1a5c9959608a1b604482015290519081900360640190fd5b6001600160a01b03808b166000818152600660209081526040808320948e16808452948252918290208c905581518c815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350505050505050505050565b60126020526000908152604090205481565b6025546001600160a01b031633146148d657600080fd5b600181101580156148e8575060038111155b614921576040805162461bcd60e51b8152602060048201526005602482015264217479706560d81b604482015290519081900360640190fd5b80600114156149345760098290556145f3565b806002141561494757600a8290556145f3565b50600b55565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6025546001600160a01b0316331461498f57600080fd5b614999823061529f565b6001600160a01b0382166000908152601260205260409020546149bc9082615028565b6001600160a01b0383166000908152601260205260409020556013546149e29082615028565b6013556001600160a01b038083166000908152600360205260408120546145f392168361587c565b601060209081526000928352604080842090915290825290205481565b601a60209081526000938452604080852082529284528284209052825290205481565b60146020526000908152604090205481565b60026000541415614aa2576040805162461bcd60e51b815260206004820152601f6024820152600080516020615ee6833981519152604482015290519081900360640190fd5b60026000556025546001600160a01b03163314614abe57600080fd5b6001600160a01b038316301415614aec57602554614ae79030906001600160a01b0316836153fd565b614b06565b602554614b06906001600160a01b03858116911683615681565b614b118383836157e7565b6001600160a01b038216600081815260156020908152604091829020805460ff19169055815143815290810184905281513393927ff7e41ea76f0e7b22ba17dc4cc01fa75cff34ea24f5efe2874f5e175296259050928290030190a35050600160005550565b7f1ac861a6a8532f3704e1768564a53a32774f00d6cf20ccbbdf60ab61378302bc81565b60276020526000908152604090205460ff1681565b61271081565b6023818154811061197d57fe5b602260209081526000938452604080852082529284528284209052825290205481565b60046020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6026546001600160a01b031681565b6025546001600160a01b03163314614c3957600080fd5b6001600160a01b038116600081815260156020908152604091829020805460ff19166001179055815143815291517ffb2bdfce35c242f34d4f9633225d3c34a5892d5eae9ce102de6aac188dd25ba09281900390910190a250565b60005a6029556001600160a01b038616600090815260208052604090205460ff168015614ce657506001600160a01b038087166000908152601160209081526040808320938916835292905220548411155b8015614d0a57506001600160a01b0386166000908152601760205260409020548311155b8015614d3a57506001600160a01b0386166000908152601460205260409020548290614d379042906151ef565b10155b9695505050505050565b60216020526000908152604090205460ff1681565b614d62836132ec565b614d6b57600080fd5b336001600160a01b0384161480614daf57506001600160a01b0380841660009081526022602090815260408083203384528252808320938816835292905220548111155b614db857600080fd5b6001600160a01b03808416600090815260116020908152604080832093881683529290522054811115614dea57600080fd5b614df38261521a565b6001600160a01b0380841660009081526011602090815260408083209388168352929052205481148015614e41576001600160a01b03841660009081526020805260409020805460ff191690555b6001600160a01b03831660009081526020805260409020805460ff19166001179055614e6e8585846157e7565b614e798584846159fa565b6001600160a01b038085166000908152601460205260408082205492861682529020558015614edd576001600160a01b0380851660008181526014602090815260408083208390556017909152808220805494881683529082209390935590815290555b336001600160a01b03851614614f54576001600160a01b038085166000908152602260209081526040808320338452825280832093891683529290522054614f2590836151ef565b6001600160a01b0380861660009081526022602090815260408083203384528252808320938a16835292905220555b846001600160a01b0316836001600160a01b0316856001600160a01b03167f8ea7d2aa01e1e73f355b1a92d0ceeead413bee462dcc66017c6aa115c75672d860405160405180910390a45050505050565b601e60209081526000938452604080852082529284528284209052825290205481565b606060288054806020026020016040519081016040528092919081815260200182805480156132e2576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116132c4575050505050905090565b60008282018381101561410c576040805162461bcd60e51b81526020600482015260066024820152656164643a202b60d01b604482015290519081900360640190fd5b60008261507a5750600061195b565b8282028284828161508757fe5b041461410c576040805162461bcd60e51b815260206004820152600660248201526536bab61d101560d11b604482015290519081900360640190fd5b600061410c8383604051806040016040528060068152602001656469763a202f60d01b815250615a92565b6001600160a01b03821661513f576040805162461bcd60e51b81526020600482015260136024820152725f6275726e3a207a65726f206164647265737360681b604482015290519081900360640190fd5b60408051808201825260168152755f6275726e3a20657863656564732062616c616e636560501b6020808301919091526001600160a01b038516600090815260079091529190912054615193918390615366565b6001600160a01b0383166000908152600760205260409020556002546151b990826151ef565b6002556040805182815290516000916001600160a01b03851691600080516020615f068339815191529181900360200190a35050565b600061410c8383604051806040016040528060068152602001657375623a202d60d01b815250615366565b6001600160a01b038116600090815260146020526040902054611ed8576001600160a01b03166000818152601460209081526040808320429081905560238054600181019091557fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42300180546001600160a01b0319169095179094556016909152902055565b6001600160a01b03808316600090815260208080526040808320805460ff1916600117905560108252808320938516835292905220546152e290829084906159fa565b6001600160a01b0380831660008181526010602090815260408083209486168084529482528083208390558383526011825280832094835293815290839020548351438152429281019290925281840152915190917f3d80dd4660c08288217e88c2d45230220fcd3debf16898013243026e6a2aad05919081900360600190a25050565b600081848411156153f55760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156153ba5781810151838201526020016153a2565b50505050905090810190601f1680156153e75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038316615458576040805162461bcd60e51b815260206004820152601d60248201527f5f7472616e73666572546f6b656e733a207a65726f2061646472657373000000604482015290519081900360640190fd5b6001600160a01b0382166154b3576040805162461bcd60e51b815260206004820152601d60248201527f5f7472616e73666572546f6b656e733a207a65726f2061646472657373000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600760205260409020546154d690826151ef565b6001600160a01b0380851660009081526007602052604080822093909355908416815220546155059082615028565b6001600160a01b038084166000818152600760209081526040918290209490945580518581529051919392871692600080516020615f0683398151915292918290030190a3505050565b60025461555c9082615028565b6002556001600160a01b0382166000908152600760205260409020546155829082615028565b6001600160a01b0383166000818152600760209081526040808320949094558351858152935192939192600080516020615f068339815191529281900390910190a35050565b6001600160a01b03821660009081526011602090815260408083203084529091529020546155f69082615028565b6001600160a01b03831660009081526011602090815260408083203084529091529020556013546156279082615028565b6013556001600160a01b0380831660009081526003602052604081205461564f92168361587c565b6040805182815290516001600160a01b038416913391600080516020615f068339815191529181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526156d3908490615af7565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052615732908590615af7565b50505050565b6001600160a01b03808316600081815260036020908152604080832054601183528184203085528352818420549484526012909252822054931692909161577f9190615028565b6001600160a01b0385811660008181526003602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461573282848361587c565b6001600160a01b0380831660009081526011602090815260408083209387168352929052205461581790826151ef565b6001600160a01b038084166000908152601160209081526040808320938816808452939091529020919091553014156156d35760135461585790826151ef565b6013556001600160a01b038083166000908152600360205260408120546156d3921690835b816001600160a01b0316836001600160a01b03161415801561589e5750600081115b156156d3576001600160a01b03831615615969576001600160a01b03831660009081526005602052604081205463ffffffff1690816158de576000615910565b6001600160a01b038516600090815260046020908152604080832063ffffffff60001987011684529091529020600101545b9050600061595784604051806040016040528060168152602001755f6d6f7665566f7465733a20756e646572666c6f777360501b815250846153669092919063ffffffff16565b905061596586848484615cb2565b5050505b6001600160a01b038216156156d3576001600160a01b03821660009081526005602052604081205463ffffffff1690816159a45760006159d6565b6001600160a01b038416600090815260046020908152604080832063ffffffff60001987011684529091529020600101545b905060006159e48285615028565b90506159f285848484615cb2565b505050505050565b6001600160a01b03808316600090815260116020908152604080832093871683529290522054615a2a9082615028565b6001600160a01b038084166000908152601160209081526040808320938816808452939091529020919091553014156156d357601354615a6a9082615028565b6013556001600160a01b038083166000908152600360205260408120546156d392168361587c565b60008183615ae15760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156153ba5781810151838201526020016153a2565b506000838581615aed57fe5b0495945050505050565b615b09826001600160a01b0316615e34565b615b51576040805162461bcd60e51b815260206004820152601460248201527314d85999515490cc8c0e880858dbdb9d1c9858dd60621b604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310615b8f5780518252601f199092019160209182019101615b70565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114615bf1576040519150601f19603f3d011682016040523d82523d6000602084013e615bf6565b606091505b509150915081615c4d576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561573257808060200190516020811015615c6957600080fd5b5051615732576040805162461bcd60e51b815260206004820152601360248201527214d85999515490cc8c0e88085cdd58d8d95959606a1b604482015290519081900360640190fd5b6000615cf3436040518060400160405280601981526020017f5f7772697465436865636b706f696e743a203332206269747300000000000000815250615e70565b905060008463ffffffff16118015615d3c57506001600160a01b038516600090815260046020908152604080832063ffffffff6000198901811685529252909120548282169116145b15615d79576001600160a01b038516600090815260046020908152604080832063ffffffff60001989011684529091529020600101829055615dea565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600484528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260059092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590615e6857508115155b949350505050565b6000816401000000008410615ec65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156153ba5781810151838201526020016153a2565b509192915050565b60408051808201909152600080825260208201529056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef7472616e7366657246726f6d3a2065786365656473207370656e64657220616c6c6f77616e6365a264697066735822122019036031781fed25cc628ed57719d0e5f8e43a44f5e5dfad54d6b55b23fce92264736f6c634300060c0033

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.