ETH Price: $2,617.38 (-2.37%)

Contract

0x6D5a780fe782E90B49a85926cc77ddAB0D024645
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Work120982452021-03-23 23:59:261417 days ago1616543966IN
0x6D5a780f...B0D024645
0 ETH0.01549996127
Work120982452021-03-23 23:59:261417 days ago1616543966IN
0x6D5a780f...B0D024645
0 ETH0.01549996127
Work120982452021-03-23 23:59:261417 days ago1616543966IN
0x6D5a780f...B0D024645
0 ETH0.19400291127
Work120978812021-03-23 22:43:091417 days ago1616539389IN
0x6D5a780f...B0D024645
0 ETH0.10718225149
Work120978792021-03-23 22:42:351417 days ago1616539355IN
0x6D5a780f...B0D024645
0 ETH0.20910277160.5
Work120978722021-03-23 22:40:181417 days ago1616539218IN
0x6D5a780f...B0D024645
0 ETH0.00660946146.6
Work120978712021-03-23 22:40:051417 days ago1616539205IN
0x6D5a780f...B0D024645
0 ETH0.23518378146.6
Work120969842021-03-23 19:22:401417 days ago1616527360IN
0x6D5a780f...B0D024645
0 ETH0.17039937220.58
Work120967842021-03-23 18:35:131417 days ago1616524513IN
0x6D5a780f...B0D024645
0 ETH0.26174164215
Work120967022021-03-23 18:14:401417 days ago1616523280IN
0x6D5a780f...B0D024645
0 ETH0.36279925250
Work120966002021-03-23 17:52:331417 days ago1616521953IN
0x6D5a780f...B0D024645
0 ETH0.08305692232
Work120962022021-03-23 16:21:051418 days ago1616516465IN
0x6D5a780f...B0D024645
0 ETH0.14059609182
Work120961412021-03-23 16:08:561418 days ago1616515736IN
0x6D5a780f...B0D024645
0 ETH0.02498383198
Work120961412021-03-23 16:08:561418 days ago1616515736IN
0x6D5a780f...B0D024645
0 ETH0.37059105198
Work120958712021-03-23 15:06:031418 days ago1616511963IN
0x6D5a780f...B0D024645
0 ETH0.16866482175
Work120958632021-03-23 15:03:291418 days ago1616511809IN
0x6D5a780f...B0D024645
0 ETH0.25160166180
Work120956432021-03-23 14:17:071418 days ago1616509027IN
0x6D5a780f...B0D024645
0 ETH0.22256395156
Work120956212021-03-23 14:10:191418 days ago1616508619IN
0x6D5a780f...B0D024645
0 ETH0.22280566154
Work120953762021-03-23 13:20:041418 days ago1616505604IN
0x6D5a780f...B0D024645
0 ETH0.09802574135.48
Pause120953732021-03-23 13:19:411418 days ago1616505581IN
0x6D5a780f...B0D024645
0 ETH0.00327521146
Work120953212021-03-23 13:09:541418 days ago1616504994IN
0x6D5a780f...B0D024645
0 ETH0.27639075125.00000145
Work120952992021-03-23 13:03:191418 days ago1616504599IN
0x6D5a780f...B0D024645
0 ETH0.23738175124
Work120952002021-03-23 12:42:041418 days ago1616503324IN
0x6D5a780f...B0D024645
0 ETH0.1648964129.50715
Work120945292021-03-23 10:18:451418 days ago1616494725IN
0x6D5a780f...B0D024645
0 ETH0.09912552137
Work120940972021-03-23 8:42:341418 days ago1616488954IN
0x6D5a780f...B0D024645
0 ETH0.19853533134
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Keep3rProxyJob

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.6.12;

import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import "@lbertenasco/contract-utils/contracts/abstract/UtilsReady.sol";
import "@lbertenasco/contract-utils/contracts/keep3r/Keep3rAbstract.sol";
import "@lbertenasco/contract-utils/interfaces/keep3r/IKeep3rV1.sol";

import "../../interfaces/proxy-job/IKeep3rProxyJob.sol";
import "../../interfaces/proxy-job/IKeep3rJob.sol";

contract Keep3rProxyJob is UtilsReady, Keep3r, IKeep3rProxyJob {
    using SafeMath for uint256;
    using EnumerableSet for EnumerableSet.AddressSet;

    EnumerableSet.AddressSet internal _validJobs;

    constructor(
        address _keep3r,
        address _bond,
        uint256 _minBond,
        uint256 _earned,
        uint256 _age,
        bool _onlyEOA
    ) public UtilsReady() Keep3r(_keep3r) {
        _setKeep3rRequirements(_bond, _minBond, _earned, _age, _onlyEOA);
    }

    // Keep3r Setters
    function setKeep3r(address _keep3r) external override onlyGovernor {
        _setKeep3r(_keep3r);
    }

    function setKeep3rRequirements(
        address _bond,
        uint256 _minBond,
        uint256 _earned,
        uint256 _age,
        bool _onlyEOA
    ) external override onlyGovernor {
        _setKeep3rRequirements(_bond, _minBond, _earned, _age, _onlyEOA);
    }

    // Getters
    function jobs() public view override returns (address[] memory validJobs) {
        validJobs = new address[](_validJobs.length());
        for (uint256 i; i < _validJobs.length(); i++) {
            validJobs[i] = _validJobs.at(i);
        }
    }

    // Keep3r-Job actions
    function workable(address _job) external override notPaused returns (bool _workable) {
        require(isValidJob(_job), "Keep3rProxyJob::workable:invalid-job");
        return IKeep3rJob(_job).workable();
    }

    function work(address _job, bytes calldata _workData) external override notPaused onlyKeeper paysKeeper {
        require(isValidJob(_job), "Keep3rProxyJob::work:invalid-job");
        IKeep3rJob(_job).work(_workData);
        emit Worked(_job, msg.sender);
    }

    // Governable
    function addValidJob(address _job) external onlyGovernor {
        require(!_validJobs.contains(_job), "Keep3rProxyJob::add-valid-job:job-already-added");
        _validJobs.add(_job);
    }

    function removeValidJob(address _job) external onlyGovernor {
        require(_validJobs.contains(_job), "Keep3rProxyJob::remove-valid-job:job-not-found");
        _validJobs.remove(_job);
    }

    // View helpers
    function isValidJob(address _job) public view override returns (bool) {
        return _validJobs.contains(_job);
    }
}

File 2 of 18 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

File 3 of 18 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

File 4 of 18 : UtilsReady.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import '../utils/Governable.sol';
import '../utils/CollectableDust.sol';
import '../utils/Pausable.sol';

abstract
contract UtilsReady is Governable, CollectableDust, Pausable {

  constructor() public Governable(msg.sender) {
  }

  // Governable: restricted-access
  function setPendingGovernor(address _pendingGovernor) external override onlyGovernor {
    _setPendingGovernor(_pendingGovernor);
  }

  function acceptGovernor() external override onlyPendingGovernor {
    _acceptGovernor();
  }

  // Collectable Dust: restricted-access
  function sendDust(
    address _to,
    address _token,
    uint256 _amount
  ) external override virtual onlyGovernor {
    _sendDust(_to, _token, _amount);
  }

  // Pausable: restricted-access
  function pause(bool _paused) external override onlyGovernor {
    _pause(_paused);
  }

}

File 5 of 18 : Keep3rAbstract.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import '../../interfaces/keep3r/IKeep3rV1.sol';
import '../../interfaces/keep3r/IKeep3r.sol';

abstract
contract Keep3r is IKeep3r {

  IKeep3rV1 internal _Keep3r;
  address public bond;
  uint256 public minBond;
  uint256 public earned;
  uint256 public age;
  bool public onlyEOA;

  constructor(address _keep3r) public {
    _setKeep3r(_keep3r);
  }

  // Setters
  function _setKeep3r(address _keep3r) internal {
    _Keep3r = IKeep3rV1(_keep3r);
    emit Keep3rSet(_keep3r);
  }

  function _setKeep3rRequirements(address _bond, uint256 _minBond, uint256 _earned, uint256 _age, bool _onlyEOA) internal {
    bond = _bond;
    minBond = _minBond;
    earned = _earned;
    age = _age;
    onlyEOA = _onlyEOA;
    emit Keep3rRequirementsSet(_bond, _minBond, _earned, _age, _onlyEOA);
  }

  // Modifiers
  // Only checks if caller is a valid keeper, payment should be handled manually
  modifier onlyKeeper() {
    _isKeeper();
    _;
  }

  // view
  function keep3r() external view override returns (address _keep3r) {
    return address(_Keep3r);
  }

  // Checks if caller is a valid keeper, handles default payment after execution
  modifier paysKeeper() {
    _;
    _Keep3r.worked(msg.sender);
  }
  // Checks if caller is a valid keeper, handles payment amount after execution
  modifier paysKeeperAmount(uint256 _amount) {
    _;
    _Keep3r.workReceipt(msg.sender, _amount);
  }
  // Checks if caller is a valid keeper, handles payment amount in _credit after execution
  modifier paysKeeperCredit(address _credit, uint256 _amount) {
    _;
    _Keep3r.receipt(_credit, msg.sender, _amount);
  }
  // Checks if caller is a valid keeper, handles payment amount in ETH after execution
  modifier paysKeeperEth(uint256 _amount) {
    _;
    _Keep3r.receiptETH(msg.sender, _amount);
  }

  // Internal helpers
  function _isKeeper() internal {
    if (onlyEOA) require(msg.sender == tx.origin, "keep3r::isKeeper:keeper-is-not-eoa");
    if (minBond == 0 && earned == 0 && age == 0) {
      // If no custom keeper requirements are set, just evaluate if sender is a registered keeper
      require(_Keep3r.isKeeper(msg.sender), "keep3r::isKeeper:keeper-is-not-registered");
    } else {
      if (bond == address(0)) {
        // Checks for min KP3R, earned and age.
        require(_Keep3r.isMinKeeper(msg.sender, minBond, earned, age), "keep3r::isKeeper:keeper-not-min-requirements");
      } else {
        // Checks for min custom-bond, earned and age.
        require(_Keep3r.isBondedKeeper(msg.sender, bond, minBond, earned, age), "keep3r::isKeeper:keeper-not-custom-min-requirements");
      }
    }
  }
}

File 6 of 18 : IKeep3rV1.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IKeep3rV1 {
    function name() external returns (string memory);
    function isKeeper(address _keeper) external returns (bool);
    function isMinKeeper(address _keeper, uint256 _minBond, uint256 _earned, uint256 _age) external returns (bool);
    function isBondedKeeper(address _keeper, address bond, uint256 _minBond, uint256 _earned, uint256 _age) external returns (bool);
    function addKPRCredit(address _job, uint256 _amount) external;
    function addJob(address _job) external;

    function worked(address _keeper) external;
    function workReceipt(address _keeper, uint256 _amount) external;
    function receipt(address credit, address _keeper, uint256 _amount) external;
    function receiptETH(address _keeper, uint256 _amount) external;

    function addLiquidityToJob(address liquidity, address job, uint amount) external;
    function applyCreditToJob(address provider, address liquidity, address job) external;
    function unbondLiquidityFromJob(address liquidity, address job, uint amount) external;
    function removeLiquidityFromJob(address liquidity, address job) external;

    function credits(address _job, address _credit) external view returns (uint256 _amount);

    function liquidityProvided(address _provider, address _liquidity, address _job) external view returns (uint256 _amount);
    function liquidityApplied(address _provider, address _liquidity, address _job) external view returns (uint256 _amount);
    function liquidityAmount(address _provider, address _liquidity, address _job) external view returns (uint256 _amount);
    
    function liquidityUnbonding(address _provider, address _liquidity, address _job) external view returns (uint256 _amount);
    function liquidityAmountsUnbonding(address _provider, address _liquidity, address _job) external view returns (uint256 _amount);
}

File 7 of 18 : IKeep3rProxyJob.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@lbertenasco/contract-utils/interfaces/keep3r/IKeep3r.sol";

interface IKeep3rProxyJob is IKeep3r {
    event Worked(address _job, address _keeper);

    function jobs() external view returns (address[] memory validJobs);

    function work(address _job, bytes calldata _workData) external;

    // use callStatic
    function workable(address _job) external returns (bool _workable);

    function isValidJob(address _job) external view returns (bool _valid);
}

File 8 of 18 : IKeep3rJob.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

interface IKeep3rJob {
    function keep3r() external view returns (address _keep3r);

    function keep3rProxyJob() external view returns (address _keep3rProxyJob);

    function usedCredits() external view returns (uint256 _usedCredits);

    function maxCredits() external view returns (uint256 _maxCredits);

    function maxGasPrice() external view returns (uint256 _maxGasPrice);

    function work(bytes calldata _workData) external;

    // use callStatic for the following functions:
    function workable() external returns (bool);

    function getWorkData() external returns (bytes memory _workData);
}

File 9 of 18 : Governable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import '../../interfaces/utils/IGovernable.sol';

abstract
contract Governable is IGovernable {
  address public override governor;
  address public override pendingGovernor;

  constructor(address _governor) public {
    require(_governor != address(0), 'governable/governor-should-not-be-zero-address');
    governor = _governor;
  }

  function _setPendingGovernor(address _pendingGovernor) internal {
    require(_pendingGovernor != address(0), 'governable/pending-governor-should-not-be-zero-addres');
    pendingGovernor = _pendingGovernor;
    emit PendingGovernorSet(_pendingGovernor);
  }

  function _acceptGovernor() internal {
    governor = pendingGovernor;
    pendingGovernor = address(0);
    emit GovernorAccepted();
  }

  function isGovernor(address _account) public view override returns (bool _isGovernor) {
    return _account == governor;
  }

  modifier onlyGovernor {
    require(isGovernor(msg.sender), 'governable/only-governor');
    _;
  }

  modifier onlyPendingGovernor {
    require(msg.sender == pendingGovernor, 'governable/only-pending-governor');
    _;
  }
}

File 10 of 18 : CollectableDust.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/EnumerableSet.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";

import '../../interfaces/utils/ICollectableDust.sol';

abstract
contract CollectableDust is ICollectableDust {
  using SafeERC20 for IERC20;
  using EnumerableSet for EnumerableSet.AddressSet;

  address public constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
  EnumerableSet.AddressSet internal protocolTokens;

  constructor() public {}

  function _addProtocolToken(address _token) internal {
    require(!protocolTokens.contains(_token), 'collectable-dust/token-is-part-of-the-protocol');
    protocolTokens.add(_token);
  }

  function _removeProtocolToken(address _token) internal {
    require(protocolTokens.contains(_token), 'collectable-dust/token-not-part-of-the-protocol');
    protocolTokens.remove(_token);
  }

  function _sendDust(
    address _to,
    address _token,
    uint256 _amount
  ) internal {
    require(_to != address(0), 'collectable-dust/cant-send-dust-to-zero-address');
    require(!protocolTokens.contains(_token), 'collectable-dust/token-is-part-of-the-protocol');
    if (_token == ETH_ADDRESS) {
      payable(_to).transfer(_amount);
    } else {
      IERC20(_token).safeTransfer(_to, _amount);
    }
    emit DustSent(_to, _token, _amount);
  }
}

File 11 of 18 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import '../../interfaces/utils/IPausable.sol';

abstract
contract Pausable is IPausable {
  bool public paused;

  constructor() public {}
  
  modifier notPaused() {
    require(!paused, 'paused');
    _;
  }

  function _pause(bool _paused) internal {
    require(paused != _paused, 'no-change');
    paused = _paused;
    emit Paused(_paused);
  }

}

File 12 of 18 : IGovernable.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

interface IGovernable {
  event PendingGovernorSet(address pendingGovernor);
  event GovernorAccepted();

  function setPendingGovernor(address _pendingGovernor) external;
  function acceptGovernor() external;

  function governor() external view returns (address _governor);
  function pendingGovernor() external view returns (address _pendingGovernor);

  function isGovernor(address _account) external view returns (bool _isGovernor);
}

File 13 of 18 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 18 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 15 of 18 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

File 16 of 18 : ICollectableDust.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

interface ICollectableDust {
  event DustSent(address _to, address token, uint256 amount);

  function sendDust(address _to, address _token, uint256 _amount) external;
}

File 17 of 18 : IPausable.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

interface IPausable {
  event Paused(bool _paused);

  function pause(bool _paused) external;
}

File 18 of 18 : IKeep3r.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IKeep3r {
    event Keep3rSet(address _keep3r);
    event Keep3rRequirementsSet(address _bond, uint256 _minBond, uint256 _earned, uint256 _age, bool _onlyEOA);
    
    function keep3r() external view returns (address _keep3r);

    function setKeep3r(address _keep3r) external;
    function setKeep3rRequirements(address _bond, uint256 _minBond, uint256 _earned, uint256 _age, bool _onlyEOA) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_keep3r","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"},{"internalType":"bool","name":"_onlyEOA","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DustSent","type":"event"},{"anonymous":false,"inputs":[],"name":"GovernorAccepted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_bond","type":"address"},{"indexed":false,"internalType":"uint256","name":"_minBond","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_earned","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_age","type":"uint256"},{"indexed":false,"internalType":"bool","name":"_onlyEOA","type":"bool"}],"name":"Keep3rRequirementsSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_keep3r","type":"address"}],"name":"Keep3rSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_paused","type":"bool"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pendingGovernor","type":"address"}],"name":"PendingGovernorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_job","type":"address"},{"indexed":false,"internalType":"address","name":"_keeper","type":"address"}],"name":"Worked","type":"event"},{"inputs":[],"name":"ETH_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptGovernor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_job","type":"address"}],"name":"addValidJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"age","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bond","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isGovernor","outputs":[{"internalType":"bool","name":"_isGovernor","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_job","type":"address"}],"name":"isValidJob","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"jobs","outputs":[{"internalType":"address[]","name":"validJobs","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keep3r","outputs":[{"internalType":"address","name":"_keep3r","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyEOA","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGovernor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_job","type":"address"}],"name":"removeValidJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendDust","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keep3r","type":"address"}],"name":"setKeep3r","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bond","type":"address"},{"internalType":"uint256","name":"_minBond","type":"uint256"},{"internalType":"uint256","name":"_earned","type":"uint256"},{"internalType":"uint256","name":"_age","type":"uint256"},{"internalType":"bool","name":"_onlyEOA","type":"bool"}],"name":"setKeep3rRequirements","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pendingGovernor","type":"address"}],"name":"setPendingGovernor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_job","type":"address"},{"internalType":"bytes","name":"_workData","type":"bytes"}],"name":"work","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_job","type":"address"}],"name":"workable","outputs":[{"internalType":"bool","name":"_workable","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405162001c4138038062001c41833981810160405260c081101561003557600080fd5b508051602082015160408301516060840151608085015160a09095015193949293919290918533806100995760405162461bcd60e51b815260040180806020018281038252602e81526020018062001c13602e913960400191505060405180910390fd5b600080546001600160a01b0319166001600160a01b03929092169190911790556100c2816100db565b506100d08585858585610137565b5050505050506101ca565b600480546001600160a01b0383166101008102610100600160a81b03199092169190911790915560408051918252517f0fec338132ef1fa68cd11242357e5e5e5af67dfd0c957b53ef411bca535817ef9181900360200190a150565b600580546001600160a01b0319166001600160a01b0387169081179091556006859055600784905560088390556009805460ff19168315159081179091556040805192835260208301879052828101869052606083018590526080830191909152517ec65cfa7a4df705cbfccbeeabefaa0a7015a83bc2b7380c2aba930fa3d66d459160a0908290030190a15050505050565b611a3980620001da6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063831518b7116100c3578063e3056a341161007c578063e3056a34146103c1578063e43581b8146103c9578063e58bb639146103ef578063e89352de146103f7578063f235757f14610437578063fb2a410a1461045d5761014d565b8063831518b7146103375780639f4713031461033f578063a734f06e14610365578063b04710bf1461036d578063d6f1926214610393578063e0d442681461039b5761014d565b80634cc18e57116101155780634cc18e57146102215780635c975abb14610247578063634c7bb51461024f57806363ca97e11461025757806364c9ec6f146102d75780637c8fce23146102df5761014d565b806302329a29146101525780630744e893146101735780630c340a24146101ad578063262a9dff146101d15780632db8c129146101eb575b600080fd5b6101716004803603602081101561016857600080fd5b50351515610465565b005b6101996004803603602081101561018957600080fd5b50356001600160a01b03166104b9565b604080519115158252519081900360200190f35b6101b56104cc565b604080516001600160a01b039092168252519081900360200190f35b6101d96104db565b60408051918252519081900360200190f35b6101716004803603606081101561020157600080fd5b506001600160a01b038135811691602081013590911690604001356104e1565b6101716004803603602081101561023757600080fd5b50356001600160a01b0316610539565b61019961058a565b6101b5610593565b6101716004803603604081101561026d57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029857600080fd5b8201836020820111156102aa57600080fd5b803590602001918460018302840111640100000000831117156102cc57600080fd5b5090925090506105a7565b6101b561079a565b6102e76107a9565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561032357818101518382015260200161030b565b505050509050019250505060405180910390f35b6101d9610847565b6101996004803603602081101561035557600080fd5b50356001600160a01b031661084d565b6101b5610942565b6101716004803603602081101561038357600080fd5b50356001600160a01b031661095a565b6101d96109f7565b610171600480360360208110156103b157600080fd5b50356001600160a01b03166109fd565b6101b5610a97565b610199600480360360208110156103df57600080fd5b50356001600160a01b0316610aa6565b610171610aba565b610171600480360360a081101561040d57600080fd5b506001600160a01b0381351690602081013590604081013590606081013590608001351515610b23565b6101716004803603602081101561044d57600080fd5b50356001600160a01b0316610b7f565b610199610bd0565b61046e33610aa6565b6104ad576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b6104b681610bd9565b50565b60006104c6600a83610c6a565b92915050565b6000546001600160a01b031681565b60085481565b6104ea33610aa6565b610529576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b610534838383610c86565b505050565b61054233610aa6565b610581576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b6104b681610dd6565b60045460ff1681565b60045461010090046001600160a01b031690565b60045460ff16156105e8576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6105f0610e32565b6105f9836104b9565b61064a576040805162461bcd60e51b815260206004820181905260248201527f4b656570337250726f78794a6f623a3a776f726b3a696e76616c69642d6a6f62604482015290519081900360640190fd5b604051634a6ee1b160e01b8152602060048201908152602482018390526001600160a01b03851691634a6ee1b19185918591908190604401848480828437600081840152601f19601f8201169050808301925050509350505050600060405180830381600087803b1580156106be57600080fd5b505af11580156106d2573d6000803e3d6000fd5b5050604080516001600160a01b038716815233602082015281517f6696222bb476e2b08ac3bf59d60b85b81ae8327ff2cf3efe73a02b7bf71c618c9450908190039091019150a1600460019054906101000a90046001600160a01b03166001600160a01b0316635feeb794336040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561077d57600080fd5b505af1158015610791573d6000803e3d6000fd5b50505050505050565b6005546001600160a01b031681565b60606107b5600a611147565b67ffffffffffffffff811180156107cb57600080fd5b506040519080825280602002602001820160405280156107f5578160200160208202803683370190505b50905060005b610805600a611147565b81101561084357610817600a82611152565b82828151811061082357fe5b6001600160a01b03909216602092830291909101909101526001016107fb565b5090565b60065481565b60045460009060ff1615610891576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b61089a826104b9565b6108d55760405162461bcd60e51b815260040180806020018281038252602481526020018061190e6024913960400191505060405180910390fd5b816001600160a01b03166380bb2bac6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561091057600080fd5b505af1158015610924573d6000803e3d6000fd5b505050506040513d602081101561093a57600080fd5b505192915050565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b61096333610aa6565b6109a2576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b6109ad600a82610c6a565b6109e85760405162461bcd60e51b815260040180806020018281038252602e8152602001806119d6602e913960400191505060405180910390fd5b6109f3600a8261115e565b5050565b60075481565b610a0633610aa6565b610a45576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b610a50600a82610c6a565b15610a8c5760405162461bcd60e51b815260040180806020018281038252602f81526020018061195b602f913960400191505060405180910390fd5b6109f3600a82611173565b6001546001600160a01b031681565b6000546001600160a01b0390811691161490565b6001546001600160a01b03163314610b19576040805162461bcd60e51b815260206004820181905260248201527f676f7665726e61626c652f6f6e6c792d70656e64696e672d676f7665726e6f72604482015290519081900360640190fd5b610b21611188565b565b610b2c33610aa6565b610b6b576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b610b7885858585856111d8565b5050505050565b610b8833610aa6565b610bc7576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b6104b68161126b565b60095460ff1681565b60045460ff1615158115151415610c23576040805162461bcd60e51b81526020600482015260096024820152686e6f2d6368616e676560b81b604482015290519081900360640190fd5b6004805482151560ff19909116811790915560408051918252517f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd29181900360200190a150565b6000610c7f836001600160a01b038416611304565b9392505050565b6001600160a01b038316610ccb5760405162461bcd60e51b815260040180806020018281038252602f8152602001806117d7602f913960400191505060405180910390fd5b610cd6600283610c6a565b15610d125760405162461bcd60e51b815260040180806020018281038252602e815260200180611881602e913960400191505060405180910390fd5b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610d73576040516001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610d6d573d6000803e3d6000fd5b50610d87565b610d876001600160a01b038316848361131c565b604080516001600160a01b0380861682528416602082015280820183905290517f1e34c1aee8e83c2dcc14c21bb4bfeea7f46c0c998cb797ac7cc4d7a18f5c656b9181900360600190a1505050565b600480546001600160a01b0383166101008102610100600160a81b03199092169190911790915560408051918252517f0fec338132ef1fa68cd11242357e5e5e5af67dfd0c957b53ef411bca535817ef9181900360200190a150565b60095460ff1615610e7b57333214610e7b5760405162461bcd60e51b815260040180806020018281038252602281526020018061198a6022913960400191505060405180910390fd5b600654158015610e8b5750600754155b8015610e975750600854155b15610f6c57600460019054906101000a90046001600160a01b03166001600160a01b0316636ba42aaa336040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b158015610f0057600080fd5b505af1158015610f14573d6000803e3d6000fd5b505050506040513d6020811015610f2a57600080fd5b5051610f675760405162461bcd60e51b81526004018080602001828103825260298152602001806119326029913960400191505060405180910390fd5b610b21565b6005546001600160a01b031661106557600460019054906101000a90046001600160a01b03166001600160a01b0316631ff5f3da336006546007546008546040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050602060405180830381600087803b158015610ffe57600080fd5b505af1158015611012573d6000803e3d6000fd5b505050506040513d602081101561102857600080fd5b5051610f675760405162461bcd60e51b815260040180806020018281038252602c8152602001806118af602c913960400191505060405180910390fd5b6004805460055460065460075460085460408051637cea367960e11b815233978101979097526001600160a01b03948516602488015260448701939093526064860191909152608485015251610100909204169163f9d46cf29160a48083019260209291908290030181600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050506040513d602081101561110a57600080fd5b5051610b215760405162461bcd60e51b81526004018080602001828103825260338152602001806118db6033913960400191505060405180910390fd5b60006104c68261136e565b6000610c7f8383611372565b6000610c7f836001600160a01b0384166113d6565b6000610c7f836001600160a01b03841661149c565b60018054600080546001600160a01b03199081166001600160a01b0384161782559091169091556040517f7880f0fcc848e1f26e461654b100a69f8d0641e29aa29f6596c6afadbb36b5ea9190a1565b600580546001600160a01b0319166001600160a01b0387169081179091556006859055600784905560088390556009805460ff19168315159081179091556040805192835260208301879052828101869052606083018590526080830191909152517ec65cfa7a4df705cbfccbeeabefaa0a7015a83bc2b7380c2aba930fa3d66d459160a0908290030190a15050505050565b6001600160a01b0381166112b05760405162461bcd60e51b815260040180806020018281038252603581526020018061184c6035913960400191505060405180910390fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f56bddfa0cee9697cebddf9acd7f23dc6583663b05e007b877056d05017994def9181900360200190a150565b60009081526001919091016020526040902054151590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526105349084906114e6565b5490565b815460009082106113b45760405162461bcd60e51b81526004018080602001828103825260228152602001806117b56022913960400191505060405180910390fd5b8260000182815481106113c357fe5b9060005260206000200154905092915050565b60008181526001830160205260408120548015611492578354600019808301919081019060009087908390811061140957fe5b906000526020600020015490508087600001848154811061142657fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061145657fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506104c6565b60009150506104c6565b60006114a88383611304565b6114de575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104c6565b5060006104c6565b606061153b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115979092919063ffffffff16565b8051909150156105345780806020019051602081101561155a57600080fd5b50516105345760405162461bcd60e51b815260040180806020018281038252602a8152602001806119ac602a913960400191505060405180910390fd5b60606115a684846000856115ae565b949350505050565b6060824710156115ef5760405162461bcd60e51b81526004018080602001828103825260268152602001806118266026913960400191505060405180910390fd5b6115f88561170a565b611649576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116885780518252601f199092019160209182019101611669565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146116ea576040519150601f19603f3d011682016040523d82523d6000602084013e6116ef565b606091505b50915091506116ff828286611710565b979650505050505050565b3b151590565b6060831561171f575081610c7f565b82511561172f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611779578181015183820152602001611761565b50505050905090810190601f1680156117a65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473636f6c6c65637461626c652d647573742f63616e742d73656e642d647573742d746f2d7a65726f2d61646472657373676f7665726e61626c652f6f6e6c792d676f7665726e6f720000000000000000416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c676f7665726e61626c652f70656e64696e672d676f7665726e6f722d73686f756c642d6e6f742d62652d7a65726f2d616464726573636f6c6c65637461626c652d647573742f746f6b656e2d69732d706172742d6f662d7468652d70726f746f636f6c6b65657033723a3a69734b65657065723a6b65657065722d6e6f742d6d696e2d726571756972656d656e74736b65657033723a3a69734b65657065723a6b65657065722d6e6f742d637573746f6d2d6d696e2d726571756972656d656e74734b656570337250726f78794a6f623a3a776f726b61626c653a696e76616c69642d6a6f626b65657033723a3a69734b65657065723a6b65657065722d69732d6e6f742d726567697374657265644b656570337250726f78794a6f623a3a6164642d76616c69642d6a6f623a6a6f622d616c72656164792d61646465646b65657033723a3a69734b65657065723a6b65657065722d69732d6e6f742d656f615361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644b656570337250726f78794a6f623a3a72656d6f76652d76616c69642d6a6f623a6a6f622d6e6f742d666f756e64a264697066735822122057b618f4e7d97eac8aa48e5c8d5b9204d38eb568e869fe83be283b30815b18fa64736f6c634300060c0033676f7665726e61626c652f676f7665726e6f722d73686f756c642d6e6f742d62652d7a65726f2d616464726573730000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b5e3af16b1880000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063831518b7116100c3578063e3056a341161007c578063e3056a34146103c1578063e43581b8146103c9578063e58bb639146103ef578063e89352de146103f7578063f235757f14610437578063fb2a410a1461045d5761014d565b8063831518b7146103375780639f4713031461033f578063a734f06e14610365578063b04710bf1461036d578063d6f1926214610393578063e0d442681461039b5761014d565b80634cc18e57116101155780634cc18e57146102215780635c975abb14610247578063634c7bb51461024f57806363ca97e11461025757806364c9ec6f146102d75780637c8fce23146102df5761014d565b806302329a29146101525780630744e893146101735780630c340a24146101ad578063262a9dff146101d15780632db8c129146101eb575b600080fd5b6101716004803603602081101561016857600080fd5b50351515610465565b005b6101996004803603602081101561018957600080fd5b50356001600160a01b03166104b9565b604080519115158252519081900360200190f35b6101b56104cc565b604080516001600160a01b039092168252519081900360200190f35b6101d96104db565b60408051918252519081900360200190f35b6101716004803603606081101561020157600080fd5b506001600160a01b038135811691602081013590911690604001356104e1565b6101716004803603602081101561023757600080fd5b50356001600160a01b0316610539565b61019961058a565b6101b5610593565b6101716004803603604081101561026d57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029857600080fd5b8201836020820111156102aa57600080fd5b803590602001918460018302840111640100000000831117156102cc57600080fd5b5090925090506105a7565b6101b561079a565b6102e76107a9565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561032357818101518382015260200161030b565b505050509050019250505060405180910390f35b6101d9610847565b6101996004803603602081101561035557600080fd5b50356001600160a01b031661084d565b6101b5610942565b6101716004803603602081101561038357600080fd5b50356001600160a01b031661095a565b6101d96109f7565b610171600480360360208110156103b157600080fd5b50356001600160a01b03166109fd565b6101b5610a97565b610199600480360360208110156103df57600080fd5b50356001600160a01b0316610aa6565b610171610aba565b610171600480360360a081101561040d57600080fd5b506001600160a01b0381351690602081013590604081013590606081013590608001351515610b23565b6101716004803603602081101561044d57600080fd5b50356001600160a01b0316610b7f565b610199610bd0565b61046e33610aa6565b6104ad576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b6104b681610bd9565b50565b60006104c6600a83610c6a565b92915050565b6000546001600160a01b031681565b60085481565b6104ea33610aa6565b610529576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b610534838383610c86565b505050565b61054233610aa6565b610581576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b6104b681610dd6565b60045460ff1681565b60045461010090046001600160a01b031690565b60045460ff16156105e8576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6105f0610e32565b6105f9836104b9565b61064a576040805162461bcd60e51b815260206004820181905260248201527f4b656570337250726f78794a6f623a3a776f726b3a696e76616c69642d6a6f62604482015290519081900360640190fd5b604051634a6ee1b160e01b8152602060048201908152602482018390526001600160a01b03851691634a6ee1b19185918591908190604401848480828437600081840152601f19601f8201169050808301925050509350505050600060405180830381600087803b1580156106be57600080fd5b505af11580156106d2573d6000803e3d6000fd5b5050604080516001600160a01b038716815233602082015281517f6696222bb476e2b08ac3bf59d60b85b81ae8327ff2cf3efe73a02b7bf71c618c9450908190039091019150a1600460019054906101000a90046001600160a01b03166001600160a01b0316635feeb794336040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561077d57600080fd5b505af1158015610791573d6000803e3d6000fd5b50505050505050565b6005546001600160a01b031681565b60606107b5600a611147565b67ffffffffffffffff811180156107cb57600080fd5b506040519080825280602002602001820160405280156107f5578160200160208202803683370190505b50905060005b610805600a611147565b81101561084357610817600a82611152565b82828151811061082357fe5b6001600160a01b03909216602092830291909101909101526001016107fb565b5090565b60065481565b60045460009060ff1615610891576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b61089a826104b9565b6108d55760405162461bcd60e51b815260040180806020018281038252602481526020018061190e6024913960400191505060405180910390fd5b816001600160a01b03166380bb2bac6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561091057600080fd5b505af1158015610924573d6000803e3d6000fd5b505050506040513d602081101561093a57600080fd5b505192915050565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b61096333610aa6565b6109a2576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b6109ad600a82610c6a565b6109e85760405162461bcd60e51b815260040180806020018281038252602e8152602001806119d6602e913960400191505060405180910390fd5b6109f3600a8261115e565b5050565b60075481565b610a0633610aa6565b610a45576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b610a50600a82610c6a565b15610a8c5760405162461bcd60e51b815260040180806020018281038252602f81526020018061195b602f913960400191505060405180910390fd5b6109f3600a82611173565b6001546001600160a01b031681565b6000546001600160a01b0390811691161490565b6001546001600160a01b03163314610b19576040805162461bcd60e51b815260206004820181905260248201527f676f7665726e61626c652f6f6e6c792d70656e64696e672d676f7665726e6f72604482015290519081900360640190fd5b610b21611188565b565b610b2c33610aa6565b610b6b576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b610b7885858585856111d8565b5050505050565b610b8833610aa6565b610bc7576040805162461bcd60e51b81526020600482015260186024820152600080516020611806833981519152604482015290519081900360640190fd5b6104b68161126b565b60095460ff1681565b60045460ff1615158115151415610c23576040805162461bcd60e51b81526020600482015260096024820152686e6f2d6368616e676560b81b604482015290519081900360640190fd5b6004805482151560ff19909116811790915560408051918252517f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd29181900360200190a150565b6000610c7f836001600160a01b038416611304565b9392505050565b6001600160a01b038316610ccb5760405162461bcd60e51b815260040180806020018281038252602f8152602001806117d7602f913960400191505060405180910390fd5b610cd6600283610c6a565b15610d125760405162461bcd60e51b815260040180806020018281038252602e815260200180611881602e913960400191505060405180910390fd5b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610d73576040516001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610d6d573d6000803e3d6000fd5b50610d87565b610d876001600160a01b038316848361131c565b604080516001600160a01b0380861682528416602082015280820183905290517f1e34c1aee8e83c2dcc14c21bb4bfeea7f46c0c998cb797ac7cc4d7a18f5c656b9181900360600190a1505050565b600480546001600160a01b0383166101008102610100600160a81b03199092169190911790915560408051918252517f0fec338132ef1fa68cd11242357e5e5e5af67dfd0c957b53ef411bca535817ef9181900360200190a150565b60095460ff1615610e7b57333214610e7b5760405162461bcd60e51b815260040180806020018281038252602281526020018061198a6022913960400191505060405180910390fd5b600654158015610e8b5750600754155b8015610e975750600854155b15610f6c57600460019054906101000a90046001600160a01b03166001600160a01b0316636ba42aaa336040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b158015610f0057600080fd5b505af1158015610f14573d6000803e3d6000fd5b505050506040513d6020811015610f2a57600080fd5b5051610f675760405162461bcd60e51b81526004018080602001828103825260298152602001806119326029913960400191505060405180910390fd5b610b21565b6005546001600160a01b031661106557600460019054906101000a90046001600160a01b03166001600160a01b0316631ff5f3da336006546007546008546040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050602060405180830381600087803b158015610ffe57600080fd5b505af1158015611012573d6000803e3d6000fd5b505050506040513d602081101561102857600080fd5b5051610f675760405162461bcd60e51b815260040180806020018281038252602c8152602001806118af602c913960400191505060405180910390fd5b6004805460055460065460075460085460408051637cea367960e11b815233978101979097526001600160a01b03948516602488015260448701939093526064860191909152608485015251610100909204169163f9d46cf29160a48083019260209291908290030181600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050506040513d602081101561110a57600080fd5b5051610b215760405162461bcd60e51b81526004018080602001828103825260338152602001806118db6033913960400191505060405180910390fd5b60006104c68261136e565b6000610c7f8383611372565b6000610c7f836001600160a01b0384166113d6565b6000610c7f836001600160a01b03841661149c565b60018054600080546001600160a01b03199081166001600160a01b0384161782559091169091556040517f7880f0fcc848e1f26e461654b100a69f8d0641e29aa29f6596c6afadbb36b5ea9190a1565b600580546001600160a01b0319166001600160a01b0387169081179091556006859055600784905560088390556009805460ff19168315159081179091556040805192835260208301879052828101869052606083018590526080830191909152517ec65cfa7a4df705cbfccbeeabefaa0a7015a83bc2b7380c2aba930fa3d66d459160a0908290030190a15050505050565b6001600160a01b0381166112b05760405162461bcd60e51b815260040180806020018281038252603581526020018061184c6035913960400191505060405180910390fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f56bddfa0cee9697cebddf9acd7f23dc6583663b05e007b877056d05017994def9181900360200190a150565b60009081526001919091016020526040902054151590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526105349084906114e6565b5490565b815460009082106113b45760405162461bcd60e51b81526004018080602001828103825260228152602001806117b56022913960400191505060405180910390fd5b8260000182815481106113c357fe5b9060005260206000200154905092915050565b60008181526001830160205260408120548015611492578354600019808301919081019060009087908390811061140957fe5b906000526020600020015490508087600001848154811061142657fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061145657fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506104c6565b60009150506104c6565b60006114a88383611304565b6114de575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104c6565b5060006104c6565b606061153b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115979092919063ffffffff16565b8051909150156105345780806020019051602081101561155a57600080fd5b50516105345760405162461bcd60e51b815260040180806020018281038252602a8152602001806119ac602a913960400191505060405180910390fd5b60606115a684846000856115ae565b949350505050565b6060824710156115ef5760405162461bcd60e51b81526004018080602001828103825260268152602001806118266026913960400191505060405180910390fd5b6115f88561170a565b611649576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116885780518252601f199092019160209182019101611669565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146116ea576040519150601f19603f3d011682016040523d82523d6000602084013e6116ef565b606091505b50915091506116ff828286611710565b979650505050505050565b3b151590565b6060831561171f575081610c7f565b82511561172f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611779578181015183820152602001611761565b50505050905090810190601f1680156117a65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473636f6c6c65637461626c652d647573742f63616e742d73656e642d647573742d746f2d7a65726f2d61646472657373676f7665726e61626c652f6f6e6c792d676f7665726e6f720000000000000000416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c676f7665726e61626c652f70656e64696e672d676f7665726e6f722d73686f756c642d6e6f742d62652d7a65726f2d616464726573636f6c6c65637461626c652d647573742f746f6b656e2d69732d706172742d6f662d7468652d70726f746f636f6c6b65657033723a3a69734b65657065723a6b65657065722d6e6f742d6d696e2d726571756972656d656e74736b65657033723a3a69734b65657065723a6b65657065722d6e6f742d637573746f6d2d6d696e2d726571756972656d656e74734b656570337250726f78794a6f623a3a776f726b61626c653a696e76616c69642d6a6f626b65657033723a3a69734b65657065723a6b65657065722d69732d6e6f742d726567697374657265644b656570337250726f78794a6f623a3a6164642d76616c69642d6a6f623a6a6f622d616c72656164792d61646465646b65657033723a3a69734b65657065723a6b65657065722d69732d6e6f742d656f615361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644b656570337250726f78794a6f623a3a72656d6f76652d76616c69642d6a6f623a6a6f622d6e6f742d666f756e64a264697066735822122057b618f4e7d97eac8aa48e5c8d5b9204d38eb568e869fe83be283b30815b18fa64736f6c634300060c0033

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

0000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b5e3af16b1880000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _keep3r (address): 0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44
Arg [1] : _bond (address): 0x0000000000000000000000000000000000000000
Arg [2] : _minBond (uint256): 50000000000000000000
Arg [3] : _earned (uint256): 0
Arg [4] : _age (uint256): 0
Arg [5] : _onlyEOA (bool): True

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a44
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 000000000000000000000000000000000000000000000002b5e3af16b1880000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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