ETH Price: $1,952.60 (+1.31%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exercise POLY123208592021-04-27 6:50:361771 days ago1619506236IN
0xEEC0deea...9f3a13e17
0 ETH0.0051559146
Exercise POLY123108372021-04-25 17:32:031772 days ago1619371923IN
0xEEC0deea...9f3a13e17
0 ETH0.005379548.00000145
Exercise POLY122343892021-04-13 22:14:191784 days ago1618352059IN
0xEEC0deea...9f3a13e17
0 ETH0.0136051183.00000145
Exercise POLY122329502021-04-13 16:59:141784 days ago1618333154IN
0xEEC0deea...9f3a13e17
0 ETH0.02851947174
Exercise POLY122318392021-04-13 12:49:461785 days ago1618318186IN
0xEEC0deea...9f3a13e17
0 ETH0.011899572.60000023
Exercise POLY122269552021-04-12 18:49:281785 days ago1618253368IN
0xEEC0deea...9f3a13e17
0 ETH0.0163917100
Exercise POLY122259602021-04-12 15:08:021785 days ago1618240082IN
0xEEC0deea...9f3a13e17
0 ETH0.01802955110.00000134
Exercise POLY122254882021-04-12 13:24:341786 days ago1618233874IN
0xEEC0deea...9f3a13e17
0 ETH0.0132772781.00000134
Exercise POLY122223642021-04-12 1:48:551786 days ago1618192135IN
0xEEC0deea...9f3a13e17
0 ETH0.0117994372
Exercise POLY122212832021-04-11 21:52:061786 days ago1618177926IN
0xEEC0deea...9f3a13e17
0 ETH0.0118011672
Exercise POLY122200372021-04-11 17:31:101786 days ago1618162270IN
0xEEC0deea...9f3a13e17
0 ETH0.0111471868.01999999
Exercise POLY122194932021-04-11 15:39:081786 days ago1618155548IN
0xEEC0deea...9f3a13e17
0 ETH0.0140958386
Set Terms122167962021-04-11 5:39:481787 days ago1618119588IN
0xEEC0deea...9f3a13e17
0 ETH0.0042892766.00000145
Set Terms122167942021-04-11 5:39:231787 days ago1618119563IN
0xEEC0deea...9f3a13e17
0 ETH0.0042892766.00000145
Exercise POLY122155532021-04-11 0:56:511787 days ago1618102611IN
0xEEC0deea...9f3a13e17
0 ETH0.012621677
Exercise POLY122144682021-04-10 20:54:441787 days ago1618088084IN
0xEEC0deea...9f3a13e17
0 ETH0.0127855278
Exercise POLY122122042021-04-10 12:39:301788 days ago1618058370IN
0xEEC0deea...9f3a13e17
0 ETH0.0126206877
Exercise POLY122097072021-04-10 3:27:491788 days ago1618025269IN
0xEEC0deea...9f3a13e17
0 ETH0.012655985
Exercise POLY122075412021-04-09 19:24:271788 days ago1617996267IN
0xEEC0deea...9f3a13e17
0 ETH0.0147514590
Exercise POLY122060482021-04-09 14:04:381788 days ago1617977078IN
0xEEC0deea...9f3a13e17
0 ETH0.0284478159
Exercise POLY122001692021-04-08 16:07:521789 days ago1617898072IN
0xEEC0deea...9f3a13e17
0 ETH0.0203257124
Exercise POLY121997542021-04-08 14:41:051789 days ago1617892865IN
0xEEC0deea...9f3a13e17
0 ETH0.01712407115
Exercise POLY121994112021-04-08 13:24:391790 days ago1617888279IN
0xEEC0deea...9f3a13e17
0 ETH0.0172075105
Exercise POLY121973362021-04-08 5:39:081790 days ago1617860348IN
0xEEC0deea...9f3a13e17
0 ETH0.0160626998
Exercise POLY121970742021-04-08 4:42:321790 days ago1617856952IN
0xEEC0deea...9f3a13e17
0 ETH0.0139970794
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ExercisePOLY

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-03-24
*/

/**
 *Submitted for verification at Etherscan.io on 2021-03-24
*/

// SPDX-License-Identifier: AGPL-3.0-or-later\
pragma solidity 0.7.4;

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

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

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrrt(uint256 a) internal pure returns (uint c) {
        if (a > 3) {
            c = a;
            uint b = add( div( a, 2), 1 );
            while (b < c) {
                c = b;
                b = div( add( div( a, b ), b), 2 );
            }
        } else if (a != 0) {
            c = 1;
        }
    }

    /*
     * Expects percentage to be trailed by 00,
    */
    function percentageAmount( uint256 total_, uint8 percentage_ ) internal pure returns ( uint256 percentAmount_ ) {
        return div( mul( total_, percentage_ ), 1000 );
    }

    /*
     * Expects percentage to be trailed by 00,
    */
    function substractPercentage( uint256 total_, uint8 percentageToSub_ ) internal pure returns ( uint256 result_ ) {
        return sub( total_, div( mul( total_, percentageToSub_ ), 1000 ) );
    }

    function percentageOfTotal( uint256 part_, uint256 total_ ) internal pure returns ( uint256 percent_ ) {
        return div( mul(part_, 100) , total_ );
    }

    /**
     * Taken from Hypersonic https://github.com/M2629/HyperSonic/blob/main/Math.sol
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }

    function quadraticPricing( uint256 payment_, uint256 multiplier_ ) internal pure returns (uint256) {
        return sqrrt( mul( multiplier_, payment_ ) );
    }

  function bondingCurve( uint256 supply_, uint256 multiplier_ ) internal pure returns (uint256) {
      return mul( multiplier_, supply_ );
  }
}

/**
 * @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 in 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");
    //     return _functionCallWithValue(target, data, value, errorMessage);
    // }
    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);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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);
            }
        }
    }

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

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

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

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

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

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

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

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

    function addressToString(address _address) internal pure returns(string memory) {
        bytes32 _bytes = bytes32(uint256(_address));
        bytes memory HEX = "0123456789abcdef";
        bytes memory _addr = new bytes(42);

        _addr[0] = '0';
        _addr[1] = 'x';

        for(uint256 i = 0; i < 20; i++) {
            _addr[2+i*2] = HEX[uint8(_bytes[i + 12] >> 4)];
            _addr[3+i*2] = HEX[uint8(_bytes[i + 12] & 0x0f)];
        }

        return string(_addr);

    }
}

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

interface IVault {
    function depositReserves( uint amount_ ) external returns ( bool );
}

interface IPOLY {
    function burnFrom( address account_, uint256 amount_ ) external;
}

contract ExercisePOLY {
    using SafeMath for uint;
    using SafeERC20 for IERC20;

    // in hundreths i.e. 50 = 0.5%
    mapping( address => uint ) public percentCanVest;
    mapping( address => uint ) public amountClaimed;
    mapping( address => uint ) public maxAllowedToClaim;
 
    address public pOLY;
    address public OHM;
    address public DAI;
    address public owner;

    address public treasury;

    constructor( address _owner, address _pOLY, address _ohm, address _dai, address _treasury) {
        pOLY = _pOLY;
        owner = _owner;
        OHM = _ohm;
        DAI = _dai;
        treasury = _treasury;
    }

    function setTerms(address _vester, uint _amountCanClaim, uint _rate ) external returns ( bool ) {
        require( msg.sender == owner, "Sender is not owner" );
        require( _amountCanClaim >= maxAllowedToClaim[ _vester ], "cannot lower amount claimable" );
        require( _rate >= percentCanVest[ _vester ], "cannot lower vesting rate" );

        maxAllowedToClaim[ _vester ] = _amountCanClaim;
        percentCanVest[ _vester ] = _rate;

        return true;
    }

    function exercisePOLY( uint _amountToExercise ) external returns ( bool ) {
        require( getPOLYAbleToClaim( msg.sender ).sub( _amountToExercise ) >= 0, 'Not enough OHM vested' );
        require( maxAllowedToClaim[ msg.sender ].sub( amountClaimed[ msg.sender ] ).sub( _amountToExercise ) >= 0, 'Claimed over max' );

        IERC20( DAI ).safeTransferFrom( msg.sender, address( this ), _amountToExercise );
        IERC20( DAI ).approve( treasury, _amountToExercise );

        IVault( treasury ).depositReserves( _amountToExercise );
        IPOLY( pOLY ).burnFrom( msg.sender, _amountToExercise );

        amountClaimed[ msg.sender ] = amountClaimed[ msg.sender ].add( _amountToExercise );

        uint _amountOHMToSend = _amountToExercise.div( 1e9 );

        IERC20( OHM ).safeTransfer( msg.sender, _amountOHMToSend );

        return true;
    }

    function getPOLYAbleToClaim( address _vester ) public view returns (uint) {
        return ( IERC20( OHM ).totalSupply().mul( percentCanVest[ _vester ] ).mul( 1e9 ).div( 10000 ) ).sub( amountClaimed[ _vester ] );
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_pOLY","type":"address"},{"internalType":"address","name":"_ohm","type":"address"},{"internalType":"address","name":"_dai","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DAI","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OHM","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountToExercise","type":"uint256"}],"name":"exercisePOLY","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vester","type":"address"}],"name":"getPOLYAbleToClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxAllowedToClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pOLY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"percentCanVest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_vester","type":"address"},{"internalType":"uint256","name":"_amountCanClaim","type":"uint256"},{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setTerms","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051610db5380380610db5833981810160405260a081101561003357600080fd5b508051602082015160408301516060840151608090940151600380546001600160a01b03199081166001600160a01b0395861617909155600680548216958516959095179094556004805485169284169290921790915560058054841694831694909417909355600780549092169216919091179055610cfd806100b86000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b1461017e578063a6c41fec14610186578063d7e1ea171461018e578063e0bab4c4146101b4578063f31e82c0146101bc578063f5a811e9146101d9576100a9565b8063432bb0c9146100ae5780634430f4b2146100d257806344a6a6121461010a57806361d027b314610150578063672e2e7a14610158575b600080fd5b6100b66101ff565b604080516001600160a01b039092168252519081900360200190f35b6100f8600480360360208110156100e857600080fd5b50356001600160a01b031661020e565b60408051918252519081900360200190f35b61013c6004803603606081101561012057600080fd5b506001600160a01b038135169060208101359060400135610220565b604080519115158252519081900360200190f35b6100b661037e565b6100f86004803603602081101561016e57600080fd5b50356001600160a01b031661038d565b6100b661039f565b6100b66103ae565b6100f8600480360360208110156101a457600080fd5b50356001600160a01b03166103bd565b6100b66103cf565b61013c600480360360208110156101d257600080fd5b50356103de565b6100f8600480360360208110156101ef57600080fd5b50356001600160a01b0316610690565b6003546001600160a01b031681565b60026020526000908152604090205481565b6006546000906001600160a01b03163314610278576040805162461bcd60e51b815260206004820152601360248201527229b2b73232b91034b9903737ba1037bbb732b960691b604482015290519081900360640190fd5b6001600160a01b0384166000908152600260205260409020548310156102e5576040805162461bcd60e51b815260206004820152601d60248201527f63616e6e6f74206c6f77657220616d6f756e7420636c61696d61626c65000000604482015290519081900360640190fd5b6001600160a01b038416600090815260208190526040902054821015610352576040805162461bcd60e51b815260206004820152601960248201527f63616e6e6f74206c6f7765722076657374696e67207261746500000000000000604482015290519081900360640190fd5b506001600160a01b03929092166000908152600260209081526040808320939093558190522055600190565b6007546001600160a01b031681565b60006020819052908152604090205481565b6006546001600160a01b031681565b6004546001600160a01b031681565b60016020526000908152604090205481565b6005546001600160a01b031681565b6000806103f4836103ee33610690565b90610750565b101561043f576040805162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da0813d213481d995cdd1959605a1b604482015290519081900360640190fd5b3360009081526001602090815260408083205460029092528220546104699185916103ee91610750565b10156104af576040805162461bcd60e51b815260206004820152601060248201526f086d8c2d2dacac840deeccae440dac2f60831b604482015290519081900360640190fd5b6005546104c7906001600160a01b0316333085610799565b6005546007546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018690529051919092169163095ea7b39160448083019260209291908290030181600087803b15801561052057600080fd5b505af1158015610534573d6000803e3d6000fd5b505050506040513d602081101561054a57600080fd5b505060075460408051637750446f60e01b81526004810185905290516001600160a01b0390921691637750446f916024808201926020929091908290030181600087803b15801561059a57600080fd5b505af11580156105ae573d6000803e3d6000fd5b505050506040513d60208110156105c457600080fd5b50506003546040805163079cc67960e41b81523360048201526024810185905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b15801561061957600080fd5b505af115801561062d573d6000803e3d6000fd5b50503360009081526001602052604090205461064c92509050836107f9565b3360009081526001602052604081209190915561066d83633b9aca00610853565b600454909150610687906001600160a01b03163383610895565b50600192915050565b6001600160a01b03808216600090815260016020908152604080832054838352818420546004805484516318160ddd60e01b81529451969761074a9794966103ee966127109661074496633b9aca009661073e96919591909116936318160ddd9380830193919290829003018186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d602081101561073657600080fd5b5051906108ec565b906108ec565b90610853565b92915050565b600061079283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610945565b9392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526107f39085906109dc565b50505050565b600082820183811015610792576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061079283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a8d565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526108e79084906109dc565b505050565b6000826108fb5750600061074a565b8282028284828161090857fe5b04146107925760405162461bcd60e51b8152600401808060200182810382526021815260200180610c7d6021913960400191505060405180910390fd5b600081848411156109d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610999578181015183820152602001610981565b50505050905090810190601f1680156109c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6060610a31826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610af29092919063ffffffff16565b8051909150156108e757808060200190516020811015610a5057600080fd5b50516108e75760405162461bcd60e51b815260040180806020018281038252602a815260200180610c9e602a913960400191505060405180910390fd5b60008183610adc5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610999578181015183820152602001610981565b506000838581610ae857fe5b0495945050505050565b6060610b018484600085610b09565b949350505050565b6060610b1485610c76565b610b65576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610ba45780518252601f199092019160209182019101610b85565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610c06576040519150601f19603f3d011682016040523d82523d6000602084013e610c0b565b606091505b50915091508115610c1f579150610b019050565b805115610c2f5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610999578181015183820152602001610981565b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220409edac329b1490448c3f29983060fc5bf1722051ca1b48806bfbafb792e3bfb64736f6c63430007040033000000000000000000000000a62bee23497c920b94305ff68fa7b1cd1e9fadb200000000000000000000000036994486c6e97c170065899d8659a28d7371c800000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a8990000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000886ce997aa9ee4f8c2282e182ab72a705762399d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b1461017e578063a6c41fec14610186578063d7e1ea171461018e578063e0bab4c4146101b4578063f31e82c0146101bc578063f5a811e9146101d9576100a9565b8063432bb0c9146100ae5780634430f4b2146100d257806344a6a6121461010a57806361d027b314610150578063672e2e7a14610158575b600080fd5b6100b66101ff565b604080516001600160a01b039092168252519081900360200190f35b6100f8600480360360208110156100e857600080fd5b50356001600160a01b031661020e565b60408051918252519081900360200190f35b61013c6004803603606081101561012057600080fd5b506001600160a01b038135169060208101359060400135610220565b604080519115158252519081900360200190f35b6100b661037e565b6100f86004803603602081101561016e57600080fd5b50356001600160a01b031661038d565b6100b661039f565b6100b66103ae565b6100f8600480360360208110156101a457600080fd5b50356001600160a01b03166103bd565b6100b66103cf565b61013c600480360360208110156101d257600080fd5b50356103de565b6100f8600480360360208110156101ef57600080fd5b50356001600160a01b0316610690565b6003546001600160a01b031681565b60026020526000908152604090205481565b6006546000906001600160a01b03163314610278576040805162461bcd60e51b815260206004820152601360248201527229b2b73232b91034b9903737ba1037bbb732b960691b604482015290519081900360640190fd5b6001600160a01b0384166000908152600260205260409020548310156102e5576040805162461bcd60e51b815260206004820152601d60248201527f63616e6e6f74206c6f77657220616d6f756e7420636c61696d61626c65000000604482015290519081900360640190fd5b6001600160a01b038416600090815260208190526040902054821015610352576040805162461bcd60e51b815260206004820152601960248201527f63616e6e6f74206c6f7765722076657374696e67207261746500000000000000604482015290519081900360640190fd5b506001600160a01b03929092166000908152600260209081526040808320939093558190522055600190565b6007546001600160a01b031681565b60006020819052908152604090205481565b6006546001600160a01b031681565b6004546001600160a01b031681565b60016020526000908152604090205481565b6005546001600160a01b031681565b6000806103f4836103ee33610690565b90610750565b101561043f576040805162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da0813d213481d995cdd1959605a1b604482015290519081900360640190fd5b3360009081526001602090815260408083205460029092528220546104699185916103ee91610750565b10156104af576040805162461bcd60e51b815260206004820152601060248201526f086d8c2d2dacac840deeccae440dac2f60831b604482015290519081900360640190fd5b6005546104c7906001600160a01b0316333085610799565b6005546007546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018690529051919092169163095ea7b39160448083019260209291908290030181600087803b15801561052057600080fd5b505af1158015610534573d6000803e3d6000fd5b505050506040513d602081101561054a57600080fd5b505060075460408051637750446f60e01b81526004810185905290516001600160a01b0390921691637750446f916024808201926020929091908290030181600087803b15801561059a57600080fd5b505af11580156105ae573d6000803e3d6000fd5b505050506040513d60208110156105c457600080fd5b50506003546040805163079cc67960e41b81523360048201526024810185905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b15801561061957600080fd5b505af115801561062d573d6000803e3d6000fd5b50503360009081526001602052604090205461064c92509050836107f9565b3360009081526001602052604081209190915561066d83633b9aca00610853565b600454909150610687906001600160a01b03163383610895565b50600192915050565b6001600160a01b03808216600090815260016020908152604080832054838352818420546004805484516318160ddd60e01b81529451969761074a9794966103ee966127109661074496633b9aca009661073e96919591909116936318160ddd9380830193919290829003018186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d602081101561073657600080fd5b5051906108ec565b906108ec565b90610853565b92915050565b600061079283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610945565b9392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526107f39085906109dc565b50505050565b600082820183811015610792576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061079283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a8d565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526108e79084906109dc565b505050565b6000826108fb5750600061074a565b8282028284828161090857fe5b04146107925760405162461bcd60e51b8152600401808060200182810382526021815260200180610c7d6021913960400191505060405180910390fd5b600081848411156109d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610999578181015183820152602001610981565b50505050905090810190601f1680156109c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6060610a31826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610af29092919063ffffffff16565b8051909150156108e757808060200190516020811015610a5057600080fd5b50516108e75760405162461bcd60e51b815260040180806020018281038252602a815260200180610c9e602a913960400191505060405180910390fd5b60008183610adc5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610999578181015183820152602001610981565b506000838581610ae857fe5b0495945050505050565b6060610b018484600085610b09565b949350505050565b6060610b1485610c76565b610b65576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610ba45780518252601f199092019160209182019101610b85565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610c06576040519150601f19603f3d011682016040523d82523d6000602084013e610c0b565b606091505b50915091508115610c1f579150610b019050565b805115610c2f5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610999578181015183820152602001610981565b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220409edac329b1490448c3f29983060fc5bf1722051ca1b48806bfbafb792e3bfb64736f6c63430007040033

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

000000000000000000000000a62bee23497c920b94305ff68fa7b1cd1e9fadb200000000000000000000000036994486c6e97c170065899d8659a28d7371c800000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a8990000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000886ce997aa9ee4f8c2282e182ab72a705762399d

-----Decoded View---------------
Arg [0] : _owner (address): 0xA62Bee23497C920B94305FF68FA7b1Cd1e9FAdb2
Arg [1] : _pOLY (address): 0x36994486C6E97c170065899d8659A28D7371C800
Arg [2] : _ohm (address): 0x383518188C0C6d7730D91b2c03a03C837814a899
Arg [3] : _dai (address): 0x6B175474E89094C44Da98b954EedeAC495271d0F
Arg [4] : _treasury (address): 0x886CE997aa9ee4F8c2282E182aB72A705762399D

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a62bee23497c920b94305ff68fa7b1cd1e9fadb2
Arg [1] : 00000000000000000000000036994486c6e97c170065899d8659a28d7371c800
Arg [2] : 000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a899
Arg [3] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [4] : 000000000000000000000000886ce997aa9ee4f8c2282e182ab72a705762399d


Deployed Bytecode Sourcemap

23606:2260:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23906:19;;;:::i;:::-;;;;-1:-1:-1;;;;;23906:19:0;;;;;;;;;;;;;;23845:51;;;;;;;;;;;;;;;;-1:-1:-1;23845:51:0;-1:-1:-1;;;;;23845:51:0;;:::i;:::-;;;;;;;;;;;;;;;;24271:482;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24271:482:0;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;24011:23;;;:::i;23736:48::-;;;;;;;;;;;;;;;;-1:-1:-1;23736:48:0;-1:-1:-1;;;;;23736:48:0;;:::i;23982:20::-;;;:::i;23932:18::-;;;:::i;23791:47::-;;;;;;;;;;;;;;;;-1:-1:-1;23791:47:0;-1:-1:-1;;;;;23791:47:0;;:::i;23957:18::-;;;:::i;24761:874::-;;;;;;;;;;;;;;;;-1:-1:-1;24761:874:0;;:::i;25643:220::-;;;;;;;;;;;;;;;;-1:-1:-1;25643:220:0;-1:-1:-1;;;;;25643:220:0;;:::i;23906:19::-;;;-1:-1:-1;;;;;23906:19:0;;:::o;23845:51::-;;;;;;;;;;;;;:::o;24271:482::-;24401:5;;24360:4;;-1:-1:-1;;;;;24401:5:0;24387:10;:19;24378:53;;;;;-1:-1:-1;;;24378:53:0;;;;;;;;;;;;-1:-1:-1;;;24378:53:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;24470:28:0;;;;;;:17;:28;;;;;;24451:47;;;24442:91;;;;;-1:-1:-1;;;24442:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24562:25:0;;:14;:25;;;;;;;;;;;24553:34;;;24544:74;;;;;-1:-1:-1;;;24544:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24631:28:0;;;;;;;;:17;:28;;;;;;;;:46;;;;24688:25;;;;:33;24741:4;;24271:482::o;24011:23::-;;;-1:-1:-1;;;;;24011:23:0;;:::o;23736:48::-;;;;;;;;;;;;;;:::o;23982:20::-;;;-1:-1:-1;;;;;23982:20:0;;:::o;23932:18::-;;;-1:-1:-1;;;;;23932:18:0;;:::o;23791:47::-;;;;;;;;;;;;;:::o;23957:18::-;;;-1:-1:-1;;;;;23957:18:0;;:::o;24761:874::-;24828:4;24916:1;24855:57;24893:17;24855:32;24875:10;24855:18;:32::i;:::-;:36;;:57::i;:::-;:62;;24846:98;;;;;-1:-1:-1;;;24846:98:0;;;;;;;;;;;;-1:-1:-1;;;24846:98:0;;;;;;;;;;;;;;;25016:10;25059:1;25001:27;;;:13;:27;;;;;;;;;24964:17;:31;;;;;;:91;;25036:17;;24964:66;;:35;:66::i;:91::-;:96;;24955:127;;;;;-1:-1:-1;;;24955:127:0;;;;;;;;;;;;-1:-1:-1;;;24955:127:0;;;;;;;;;;;;;;;25103:3;;25095:80;;-1:-1:-1;;;;;25103:3:0;25127:10;25148:4;25156:17;25095:30;:80::i;:::-;25194:3;;25209:8;;25186:52;;;-1:-1:-1;;;25186:52:0;;-1:-1:-1;;;;;25209:8:0;;;25186:52;;;;;;;;;;;;25194:3;;;;;25186:21;;:52;;;;;;;;;;;;;;25194:3;;25186:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;25259:8:0;;25251:55;;;-1:-1:-1;;;25251:55:0;;;;;;;;;;-1:-1:-1;;;;;25259:8:0;;;;25251:34;;:55;;;;;25186:52;;25251:55;;;;;;;;25259:8;;25251:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;25324:4:0;;25317:55;;;-1:-1:-1;;;25317:55:0;;25341:10;25317:55;;;;;;;;;;;;-1:-1:-1;;;;;25324:4:0;;;;25317:22;;:55;;;;;25324:4;;25317:55;;;;;;;;25324:4;;25317:55;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;25430:10:0;25415:27;;;;:13;:27;;;;;;:52;;-1:-1:-1;25415:27:0;-1:-1:-1;25448:17:0;25415:31;:52::i;:::-;25400:10;25385:27;;;;:13;:27;;;;;:82;;;;25504:28;:17;25527:3;25504:21;:28::i;:::-;25553:3;;25480:52;;-1:-1:-1;25545:58:0;;-1:-1:-1;;;;;25553:3:0;25573:10;25480:52;25545:26;:58::i;:::-;-1:-1:-1;25623:4:0;;24761:874;-1:-1:-1;;24761:874:0:o;25643:220::-;-1:-1:-1;;;;;25829:24:0;;;25711:4;25829:24;;;:13;:24;;;;;;;;;25770:25;;;;;;;25745:3;;;25737:27;;-1:-1:-1;;;25737:27:0;;;;25711:4;;25735:120;;25829:24;;25737:84;;25814:5;;25737:71;;25803:3;;25737:60;;25770:25;;25745:3;;;;;25737:25;;:27;;;;25829:24;;25737:27;;;;;;25745:3;25737:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25737:27:0;;:31;:60::i;:::-;:64;;:71::i;:::-;:75;;:84::i;25735:120::-;25728:127;25643:220;-1:-1:-1;;25643:220:0:o;5081:136::-;5139:7;5166:43;5170:1;5173;5166:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;5159:50;5081:136;-1:-1:-1;;;5081:136:0:o;889:205::-;1017:68;;;-1:-1:-1;;;;;1017:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1017:68:0;-1:-1:-1;;;1017:68:0;;;990:96;;1010:5;;990:19;:96::i;:::-;889:205;;;;:::o;4617:181::-;4675:7;4707:5;;;4731:6;;;;4723:46;;;;;-1:-1:-1;;;4723:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6918:132;6976:7;7003:39;7007:1;7010;7003:39;;;;;;;;;;;;;;;;;:3;:39::i;704:177::-;814:58;;;-1:-1:-1;;;;;814:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;814:58:0;-1:-1:-1;;;814:58:0;;;787:86;;807:5;;787:19;:86::i;:::-;704:177;;;:::o;5971:471::-;6029:7;6274:6;6270:47;;-1:-1:-1;6304:1:0;6297:8;;6270:47;6341:5;;;6345:1;6341;:5;:1;6365:5;;;;;:10;6357:56;;;;-1:-1:-1;;;6357:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5520:192;5606:7;5642:12;5634:6;;;;5626:29;;;;-1:-1:-1;;;5626:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5678:5:0;;;5520:192::o;3009:761::-;3433:23;3459:69;3487:4;3459:69;;;;;;;;;;;;;;;;;3467:5;-1:-1:-1;;;;;3459:27:0;;;:69;;;;;:::i;:::-;3543:17;;3433:95;;-1:-1:-1;3543:21:0;3539:224;;3685:10;3674:30;;;;;;;;;;;;;;;-1:-1:-1;3674:30:0;3666:85;;;;-1:-1:-1;;;3666:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7546:278;7632:7;7667:12;7660:5;7652:28;;;;-1:-1:-1;;;7652:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7691:9;7707:1;7703;:5;;;;;;;7546:278;-1:-1:-1;;;;;7546:278:0:o;14530:196::-;14633:12;14665:53;14688:6;14696:4;14702:1;14705:12;14665:22;:53::i;:::-;14658:60;14530:196;-1:-1:-1;;;;14530:196:0:o;16455:979::-;16585:12;16618:18;16629:6;16618:10;:18::i;:::-;16610:60;;;;;-1:-1:-1;;;16610:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16744:12;16758:23;16785:6;-1:-1:-1;;;;;16785:11:0;16805:8;16816:4;16785:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16785:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16743:78;;;;16836:7;16832:595;;;16867:10;-1:-1:-1;16860:17:0;;-1:-1:-1;16860:17:0;16832:595;16981:17;;:21;16977:439;;17244:10;17238:17;17305:15;17292:10;17288:2;17284:19;17277:44;17192:148;17380:20;;-1:-1:-1;;;17380:20:0;;;;;;;;;;;;;;;;;17387:12;;17380:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11612:422;11979:20;12018:8;;;11612:422::o

Swarm Source

ipfs://409edac329b1490448c3f29983060fc5bf1722051ca1b48806bfbafb792e3bfb

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.