ETH Price: $2,605.94 (-2.42%)

Contract

0x810353b95A0A7aC0A480Ad4364E5dFe5aD58b857
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Earning202501032024-07-06 21:17:47101 days ago1720300667IN
0x810353b9...5aD58b857
0 ETH0.000110951.24
Withdraw Earning201810382024-06-27 5:49:11111 days ago1719467351IN
0x810353b9...5aD58b857
0 ETH0.000630227.01735972
Withdraw Earning201320892024-06-20 9:37:23118 days ago1718876243IN
0x810353b9...5aD58b857
0 ETH0.000544477.43865136
Withdraw Earning200021202024-06-02 5:43:11136 days ago1717306991IN
0x810353b9...5aD58b857
0 ETH0.000462544.83589126
Withdraw Earning199811632024-05-30 7:26:11139 days ago1717053971IN
0x810353b9...5aD58b857
0 ETH0.000628758.82309812
Withdraw Earning199579942024-05-27 1:42:11142 days ago1716774131IN
0x810353b9...5aD58b857
0 ETH0.000375844.93853867
Withdraw Earning199304652024-05-23 5:22:35146 days ago1716441755IN
0x810353b9...5aD58b857
0 ETH0.00037114.81473896
Withdraw Earning199304342024-05-23 5:16:23146 days ago1716441383IN
0x810353b9...5aD58b857
0 ETH0.000373754.2297641
Withdraw Earning197373242024-04-26 5:02:35173 days ago1714107755IN
0x810353b9...5aD58b857
0 ETH0.000510625.39729274
Withdraw Earning196397802024-04-12 13:19:23187 days ago1712927963IN
0x810353b9...5aD58b857
0 ETH0.0017179423.01518087
Withdraw Earning196223432024-04-10 2:47:11189 days ago1712717231IN
0x810353b9...5aD58b857
0 ETH0.0012032517.23512628
Withdraw Earning195649062024-04-02 1:40:59197 days ago1712022059IN
0x810353b9...5aD58b857
0 ETH0.0012931218.14601044
Withdraw Earning193726112024-03-06 0:40:23224 days ago1709685623IN
0x810353b9...5aD58b857
0 ETH0.004311360.49929121
Withdraw Earning193705622024-03-05 17:49:11224 days ago1709660951IN
0x810353b9...5aD58b857
0 ETH0.00912035103.21575589
Withdraw Earning193694902024-03-05 14:13:35224 days ago1709648015IN
0x810353b9...5aD58b857
0 ETH0.0057183788.39656864
Withdraw Earning193430192024-03-01 21:29:11228 days ago1709328551IN
0x810353b9...5aD58b857
0 ETH0.0045733562.05781318
Withdraw Earning192188412024-02-13 11:37:47246 days ago1707824267IN
0x810353b9...5aD58b857
0 ETH0.0020659123.38012309
Withdraw Earning190587362024-01-22 0:31:11268 days ago1705883471IN
0x810353b9...5aD58b857
0 ETH0.0010381111.13526448
Withdraw Earning190449292024-01-20 1:56:35270 days ago1705715795IN
0x810353b9...5aD58b857
0 ETH0.0012461717.85
Withdraw Earning189521822024-01-07 2:11:35283 days ago1704593495IN
0x810353b9...5aD58b857
0 ETH0.0010248913.73492227
Withdraw Earning189250992024-01-03 6:37:59287 days ago1704263879IN
0x810353b9...5aD58b857
0 ETH0.0011843113
Withdraw Earning189200302024-01-02 13:35:47288 days ago1704202547IN
0x810353b9...5aD58b857
0 ETH0.0019178322.0658597
Withdraw Earning188956322023-12-30 3:20:11291 days ago1703906411IN
0x810353b9...5aD58b857
0 ETH0.0012766214.68832642
Withdraw Earning188706792023-12-26 15:10:47294 days ago1703603447IN
0x810353b9...5aD58b857
0 ETH0.0021309324.13479994
Withdraw Earning188424892023-12-22 16:11:11298 days ago1703261471IN
0x810353b9...5aD58b857
0 ETH0.0029547640.38768905
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:
RewardVesting

Compiler Version
v0.6.10+commit.00c0fcaf

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-08-18
*/

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

// Sources flattened with hardhat v2.3.0 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// 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 @openzeppelin/contracts/utils/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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


// File @openzeppelin/contracts/access/[email protected]


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


// File @openzeppelin/contracts/math/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity >=0.6.0 <0.8.0;



/**
 * @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 contracts/farm/RewardVesting.sol

/*
    Copyright 2021 Cook Finance.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

*/
pragma solidity ^0.6.2;
pragma experimental ABIEncoderV2;

//import "hardhat/console.sol";





contract RewardVesting {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public reward;

    // Variable for earning with locks
    struct LockedBalance {
        uint256 amount;
        uint256 unlockTime;
    }
    mapping(address => LockedBalance[]) private _userEarnings;
    uint256 public duration = 86400;

    struct Balances {
        uint256 earned;
    }

    mapping(address => Balances) public userBalances;

    uint256 public accumulatedPenalty = 0;

    /// @dev The address of the account which currently has administrative capabilities over this contract.
    address public governance;

    address public pendingGovernance;

    /// @dev The address of the reward source, the address can invoke addEarning 
    address public rewardSource;

    event EarningAdd(address indexed user, uint256 amount);
    event EarningWithdraw(address indexed user, uint256 amount, uint256 penaltyAmount);

    event PendingGovernanceUpdated(
      address pendingGovernance
    );

    event GovernanceUpdated(
      address governance
    );


    // solium-disable-next-line
    constructor(address _governance) public {
      require(_governance != address(0), "RewardVesting: governance address cannot be 0x0");
      governance = _governance;
    }

    /*
     * Owner methods
     */
    function initialize(IERC20 _reward, address _rewardSource) external onlyGovernance {
        require(reward == IERC20(0), "Already initialized");
        require(_rewardSource != address(0), "Zero address");
        reward = _reward;
        rewardSource = _rewardSource;
    }

    modifier onlyGovernance() {
      require(msg.sender == governance, "RewardVesting: only governance");
      _;
    }

    /// @dev Sets the governance.
    ///
    /// This function can only called by the current governance.
    ///
    /// @param _pendingGovernance the new pending governance.
    function setPendingGovernance(address _pendingGovernance) external onlyGovernance {
      require(_pendingGovernance != address(0), "RewardVesting: pending governance address cannot be 0x0");
      pendingGovernance = _pendingGovernance;

      emit PendingGovernanceUpdated(_pendingGovernance);
    }

    function acceptGovernance() external {
      require(msg.sender == pendingGovernance, "RewardVesting: only pending governance");

      address _pendingGovernance = pendingGovernance;
      governance = _pendingGovernance;

      emit GovernanceUpdated(_pendingGovernance);
    }


    function transferPenalty(address transferTo) external onlyGovernance {
        reward.safeTransfer(transferTo, accumulatedPenalty);
        accumulatedPenalty = 0;
    }

    /*
     * Add earning from other accounts, which will be locked for 3 months.
     * Early exit is allowed, by 50% will be penalty.
     */
    function addEarning(address user, uint256 amount, uint256 durationInSecs) external {
        require(msg.sender == rewardSource, "Not from reward source");
        _addPendingEarning(user, amount, durationInSecs);
        reward.safeTransferFrom(msg.sender, address(this), amount);
    }

    function _addPendingEarning(address user, uint256 amount, uint256 durationInSecs) internal {
        Balances storage bal = userBalances[user];
        bal.earned = bal.earned.add(amount);

        uint256 unlockTime = block.timestamp.div(duration).mul(duration).add(durationInSecs);
        LockedBalance[] storage earnings = _userEarnings[user];
        uint256 idx = earnings.length;

        if (idx == 0 || earnings[idx-1].unlockTime < unlockTime) {
            earnings.push(LockedBalance({amount: amount, unlockTime: unlockTime}));
        } else {
            earnings[idx-1].amount = earnings[idx-1].amount.add(amount);
        }
        emit EarningAdd(user, amount);
    }

    // Withdraw staked tokens
    // First withdraws unlocked tokens, then earned tokens. Withdrawing earned tokens
    // incurs a 50% penalty which will be burnt
    function withdrawEarning(uint256 amount) public {
        require(amount > 0, "Cannot withdraw 0");
        Balances storage bal = userBalances[msg.sender];
        uint256 penaltyAmount = 0;

        uint256 remaining = amount;
        bal.earned = bal.earned.sub(remaining);
        for (uint i = 0; ; i++) {
            uint256 earnedAmount = _userEarnings[msg.sender][i].amount;
            if (earnedAmount == 0) {
                continue;
            }
            if (penaltyAmount == 0 && _userEarnings[msg.sender][i].unlockTime > block.timestamp) {
                penaltyAmount = remaining;
                require(bal.earned >= remaining, "Insufficient balance after penalty");
                bal.earned = bal.earned.sub(remaining);
                if (bal.earned == 0) {
                    delete _userEarnings[msg.sender];
                    break;
                }
                remaining = remaining.mul(2);
            }
            if (remaining <= earnedAmount) {
                _userEarnings[msg.sender][i].amount = earnedAmount.sub(remaining);
                break;
            } else {
                delete _userEarnings[msg.sender][i];
                remaining = remaining.sub(earnedAmount);
            }
        }


        reward.safeTransfer(msg.sender, amount);

        accumulatedPenalty = accumulatedPenalty + penaltyAmount;

        emit EarningWithdraw(msg.sender, amount, penaltyAmount);
    }

    // Final balance received and penalty balance paid by user upon calling exit
    function withdrawableEarning(
        address user
    )
        public
        view
        returns (uint256 amount, uint256 penaltyAmount, uint256 amountWithoutPenalty)
    {
        Balances storage bal = userBalances[user];

        if (bal.earned > 0) {
            uint256 length = _userEarnings[user].length;
            for (uint i = 0; i < length; i++) {
                uint256 earnedAmount = _userEarnings[user][i].amount;
                if (earnedAmount == 0) {
                    continue;
                }
                if (_userEarnings[user][i].unlockTime > block.timestamp) {
                    break;
                }
                amountWithoutPenalty = amountWithoutPenalty.add(earnedAmount);
            }
            
            if (bal.earned.sub(amountWithoutPenalty) % 2 == 0) {
                penaltyAmount = bal.earned.sub(amountWithoutPenalty).div(2);
            } else {
                penaltyAmount = bal.earned.sub(amountWithoutPenalty).div(2) + 1;
            }
        }
        amount = bal.earned.sub(penaltyAmount);

        return (amount, penaltyAmount, amountWithoutPenalty);
    }

    function earnedBalances(
        address user
    )
        public
        view
        returns (uint total, uint[2][] memory earningsData)
    {
        LockedBalance[] storage earnings = _userEarnings[user];
        uint idx;
        for (uint i = 0; i < earnings.length; i++) {
            if (earnings[i].unlockTime > block.timestamp) {
                if (idx == 0) {
                    earningsData = new uint[2][](earnings.length - i);
                }
                earningsData[idx][0] = earnings[i].amount;
                earningsData[idx][1] = earnings[i].unlockTime;
                idx++;
                total = total.add(earnings[i].amount);
            }
        }
        return (total, earningsData);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EarningAdd","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"penaltyAmount","type":"uint256"}],"name":"EarningWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"governance","type":"address"}],"name":"GovernanceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pendingGovernance","type":"address"}],"name":"PendingGovernanceUpdated","type":"event"},{"inputs":[],"name":"acceptGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"accumulatedPenalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"durationInSecs","type":"uint256"}],"name":"addEarning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"earnedBalances","outputs":[{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256[2][]","name":"earningsData","type":"uint256[2][]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_reward","type":"address"},{"internalType":"address","name":"_rewardSource","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pendingGovernance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reward","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardSource","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pendingGovernance","type":"address"}],"name":"setPendingGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"transferTo","type":"address"}],"name":"transferPenalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBalances","outputs":[{"internalType":"uint256","name":"earned","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawEarning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"withdrawableEarning","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"penaltyAmount","type":"uint256"},{"internalType":"uint256","name":"amountWithoutPenalty","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405262015180600255600060045534801561001c57600080fd5b506040516115f63803806115f683398101604081905261003b9161008f565b6001600160a01b03811661006a5760405162461bcd60e51b8152600401610061906100bd565b60405180910390fd5b600580546001600160a01b0319166001600160a01b039290921691909117905561010c565b6000602082840312156100a0578081fd5b81516001600160a01b03811681146100b6578182fd5b9392505050565b6020808252602f908201527f52657761726456657374696e673a20676f7665726e616e63652061646472657360408201526e0732063616e6e6f742062652030783608c1b606082015260800190565b6114db8061011b6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80635aa6e67511610097578063e4a6c7a911610066578063e4a6c7a9146101c7578063ef23914b146101e9578063f39c38a0146101f1578063f52743b1146101f9576100f5565b80635aa6e675146101835780639cfbc0021461018b578063df32dc5c14610193578063df379876146101a6576100f5565b8063228cb733116100d3578063228cb73314610140578063238efcbc1461015557806326224c641461015d578063485cc95514610170576100f5565b80630abb6035146100fa5780630fb5a6b41461010f5780631b24e56c1461012d575b600080fd5b61010d610108366004610eed565b61020c565b005b6101176102bb565b60405161012491906113c4565b60405180910390f35b61010d61013b366004610eed565b6102c1565b610148610316565b6040516101249190610fc9565b61010d610325565b61011761016b366004610eed565b6103a0565b61010d61017e366004610f5d565b6103b2565b610148610459565b610148610468565b61010d6101a1366004610f95565b610477565b6101b96101b4366004610eed565b6106b0565b6040516101249291906113cd565b6101da6101d5366004610eed565b61082b565b6040516101249392919061144e565b6101176109a4565b6101486109aa565b61010d610207366004610f09565b6109b9565b6005546001600160a01b0316331461023f5760405162461bcd60e51b8152600401610236906111e6565b60405180910390fd5b6001600160a01b0381166102655760405162461bcd60e51b815260040161023690611289565b600680546001600160a01b0319166001600160a01b0383161790556040517fc9e2377236eab4280090ce8f2317332649736d92f00dcf20a8dd6684ec5e7839906102b0908390610fc9565b60405180910390a150565b60025481565b6005546001600160a01b031633146102eb5760405162461bcd60e51b8152600401610236906111e6565b60045460005461030e916001600160a01b0390911690839063ffffffff610a1116565b506000600455565b6000546001600160a01b031681565b6006546001600160a01b0316331461034f5760405162461bcd60e51b815260040161023690611123565b600654600580546001600160a01b0319166001600160a01b0390921691821790556040517f9d3e522e1e47a2f6009739342b9cc7b252a1888154e843ab55ee1c81745795ab906102b0908390610fc9565b60036020526000908152604090205481565b6005546001600160a01b031633146103dc5760405162461bcd60e51b8152600401610236906111e6565b6000546001600160a01b0316156104055760405162461bcd60e51b81526004016102369061134d565b6001600160a01b03811661042b5760405162461bcd60e51b8152600401610236906110fd565b600080546001600160a01b039384166001600160a01b03199182161790915560078054929093169116179055565b6005546001600160a01b031681565b6007546001600160a01b031681565b600081116104975760405162461bcd60e51b81526004016102369061121d565b336000908152600360205260408120805490919083906104bd908263ffffffff610a6716565b835560005b3360009081526001602052604081208054839081106104dd57fe5b906000526020600020906002020160000154905080600014156105005750610640565b8315801561053b575033600090815260016020526040902080544291908490811061052757fe5b906000526020600020906002020160010154115b156105b25782935082856000015410156105675760405162461bcd60e51b815260040161023690611084565b8454610579908463ffffffff610a6716565b80865561059e5733600090815260016020526040812061059891610e84565b50610648565b6105af83600263ffffffff610a9416565b92505b8083116105fb576105c9818463ffffffff610a6716565b3360009081526001602052604090208054849081106105e457fe5b600091825260209091206002909102015550610648565b33600090815260016020526040902080548390811061061657fe5b6000918252602082206002909102018181556001015561063c838263ffffffff610a6716565b9250505b6001016104c2565b50600054610666906001600160a01b0316338663ffffffff610a1116565b600480548301905560405133907ff066d5b6f283fa97596dc970c204867ddb3350b7df1d71ff8b8979ac9c0e783b906106a29087908690611440565b60405180910390a250505050565b6001600160a01b038116600090815260016020526040812060609082805b825481101561082357428382815481106106e457fe5b906000526020600020906002020160010154111561081b578161075a57825481900367ffffffffffffffff8111801561071c57600080fd5b5060405190808252806020026020018201604052801561075657816020015b610743610ea8565b81526020019060019003908161073b5790505b5093505b82818154811061076657fe5b90600052602060002090600202016000015484838151811061078457fe5b602002602001015160006002811061079857fe5b602002015282548390829081106107ab57fe5b9060005260206000209060020201600101548483815181106107c957fe5b60200260200101516001600281106107dd57fe5b60200201528254600190920191610818908490839081106107fa57fe5b6000918252602090912060029091020154869063ffffffff610ad516565b94505b6001016106ce565b505050915091565b6001600160a01b038116600090815260036020526040812080548291829115610988576001600160a01b038516600090815260016020526040812054905b81811015610919576001600160a01b038716600090815260016020526040812080548390811061089557fe5b906000526020600020906002020160000154905080600014156108b85750610911565b6001600160a01b03881660009081526001602052604090208054429190849081106108df57fe5b90600052602060002090600202016001015411156108fd5750610919565b61090d858263ffffffff610ad516565b9450505b600101610869565b50815460029061092f908563ffffffff610a6716565b8161093657fe5b0661096757815461096090600290610954908663ffffffff610a6716565b9063ffffffff610afa16565b9350610986565b815461098090600290610954908663ffffffff610a6716565b60010193505b505b805461099a908463ffffffff610a6716565b9350509193909250565b60045481565b6006546001600160a01b031681565b6007546001600160a01b031633146109e35760405162461bcd60e51b8152600401610236906112e6565b6109ee838383610b2c565b600054610a0c906001600160a01b031633308563ffffffff610cb716565b505050565b610a0c8363a9059cbb60e01b8484604051602401610a30929190611001565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610cde565b600082821115610a895760405162461bcd60e51b8152600401610236906110c6565b508082035b92915050565b600082610aa357506000610a8e565b82820282848281610ab057fe5b0414610ace5760405162461bcd60e51b815260040161023690611248565b9392505050565b600082820183811015610ace5760405162461bcd60e51b81526004016102369061104d565b6000808211610b1b5760405162461bcd60e51b8152600401610236906111af565b818381610b2457fe5b049392505050565b6001600160a01b03831660009081526003602052604090208054610b56908463ffffffff610ad516565b8155600254600090610b90908490610b8490610b78428263ffffffff610afa16565b9063ffffffff610a9416565b9063ffffffff610ad516565b6001600160a01b0386166000908152600160205260409020805491925090801580610bda575082826001830381548110610bc657fe5b906000526020600020906002020160010154105b15610c1c576040805180820190915286815260208082018581528454600181810187556000878152939093209351600290910290930192835551910155610c6d565b610c4c86836001840381548110610c2f57fe5b60009182526020909120600290910201549063ffffffff610ad516565b826001830381548110610c5b57fe5b60009182526020909120600290910201555b866001600160a01b03167fdc84f1a2383b197da4e235bc9e4982f35f6cac087dc69611511d4d2f59acaec687604051610ca691906113c4565b60405180910390a250505050505050565b610cd8846323b872dd60e01b858585604051602401610a3093929190610fdd565b50505050565b6060610d33826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d6d9092919063ffffffff16565b805190915015610a0c5780806020019051810190610d519190610f3d565b610a0c5760405162461bcd60e51b81526004016102369061137a565b6060610d7c8484600085610d84565b949350505050565b606082471015610da65760405162461bcd60e51b815260040161023690611169565b610daf85610e45565b610dcb5760405162461bcd60e51b815260040161023690611316565b60006060866001600160a01b03168587604051610de89190610fad565b60006040518083038185875af1925050503d8060008114610e25576040519150601f19603f3d011682016040523d82523d6000602084013e610e2a565b606091505b5091509150610e3a828286610e4b565b979650505050505050565b3b151590565b60608315610e5a575081610ace565b825115610e6a5782518084602001fd5b8160405162461bcd60e51b8152600401610236919061101a565b5080546000825560020290600052602060002090810190610ea59190610ec6565b50565b60405180604001604052806002906020820280368337509192915050565b610eea91905b80821115610ee65760008082556001820155600201610ecc565b5090565b90565b600060208284031215610efe578081fd5b8135610ace81611490565b600080600060608486031215610f1d578182fd5b8335610f2881611490565b95602085013595506040909401359392505050565b600060208284031215610f4e578081fd5b81518015158114610ace578182fd5b60008060408385031215610f6f578182fd5b8235610f7a81611490565b91506020830135610f8a81611490565b809150509250929050565b600060208284031215610fa6578081fd5b5035919050565b60008251610fbf818460208701611464565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152611039816040850160208701611464565b601f01601f19169190910160400192915050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526022908201527f496e73756666696369656e742062616c616e63652061667465722070656e616c604082015261747960f01b606082015260800190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b60208082526026908201527f52657761726456657374696e673a206f6e6c792070656e64696e6720676f7665604082015265726e616e636560d01b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252601e908201527f52657761726456657374696e673a206f6e6c7920676f7665726e616e63650000604082015260600190565b602080825260119082015270043616e6e6f74207769746864726177203607c1b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526037908201527f52657761726456657374696e673a2070656e64696e6720676f7665726e616e6360408201527f6520616464726573732063616e6e6f7420626520307830000000000000000000606082015260800190565b6020808252601690820152754e6f742066726f6d2072657761726420736f7572636560501b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260139082015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b60006040808301858452602082818601528186518084526060870191508288019350855b81811015611432578451879084905b600283101561141f578051825260019290920191908601908601611400565b50505093830193918501916001016113f1565b509098975050505050505050565b918252602082015260400190565b9283526020830191909152604082015260600190565b60005b8381101561147f578181015183820152602001611467565b83811115610cd85750506000910152565b6001600160a01b0381168114610ea557600080fdfea2646970667358221220d8520f78d510d883eec35a3f2d6883275a78824f9d5e8d51b3724f9fae90b1e464736f6c634300060a0033000000000000000000000000eed8a32c99192794430383509465e5e360c74605

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80635aa6e67511610097578063e4a6c7a911610066578063e4a6c7a9146101c7578063ef23914b146101e9578063f39c38a0146101f1578063f52743b1146101f9576100f5565b80635aa6e675146101835780639cfbc0021461018b578063df32dc5c14610193578063df379876146101a6576100f5565b8063228cb733116100d3578063228cb73314610140578063238efcbc1461015557806326224c641461015d578063485cc95514610170576100f5565b80630abb6035146100fa5780630fb5a6b41461010f5780631b24e56c1461012d575b600080fd5b61010d610108366004610eed565b61020c565b005b6101176102bb565b60405161012491906113c4565b60405180910390f35b61010d61013b366004610eed565b6102c1565b610148610316565b6040516101249190610fc9565b61010d610325565b61011761016b366004610eed565b6103a0565b61010d61017e366004610f5d565b6103b2565b610148610459565b610148610468565b61010d6101a1366004610f95565b610477565b6101b96101b4366004610eed565b6106b0565b6040516101249291906113cd565b6101da6101d5366004610eed565b61082b565b6040516101249392919061144e565b6101176109a4565b6101486109aa565b61010d610207366004610f09565b6109b9565b6005546001600160a01b0316331461023f5760405162461bcd60e51b8152600401610236906111e6565b60405180910390fd5b6001600160a01b0381166102655760405162461bcd60e51b815260040161023690611289565b600680546001600160a01b0319166001600160a01b0383161790556040517fc9e2377236eab4280090ce8f2317332649736d92f00dcf20a8dd6684ec5e7839906102b0908390610fc9565b60405180910390a150565b60025481565b6005546001600160a01b031633146102eb5760405162461bcd60e51b8152600401610236906111e6565b60045460005461030e916001600160a01b0390911690839063ffffffff610a1116565b506000600455565b6000546001600160a01b031681565b6006546001600160a01b0316331461034f5760405162461bcd60e51b815260040161023690611123565b600654600580546001600160a01b0319166001600160a01b0390921691821790556040517f9d3e522e1e47a2f6009739342b9cc7b252a1888154e843ab55ee1c81745795ab906102b0908390610fc9565b60036020526000908152604090205481565b6005546001600160a01b031633146103dc5760405162461bcd60e51b8152600401610236906111e6565b6000546001600160a01b0316156104055760405162461bcd60e51b81526004016102369061134d565b6001600160a01b03811661042b5760405162461bcd60e51b8152600401610236906110fd565b600080546001600160a01b039384166001600160a01b03199182161790915560078054929093169116179055565b6005546001600160a01b031681565b6007546001600160a01b031681565b600081116104975760405162461bcd60e51b81526004016102369061121d565b336000908152600360205260408120805490919083906104bd908263ffffffff610a6716565b835560005b3360009081526001602052604081208054839081106104dd57fe5b906000526020600020906002020160000154905080600014156105005750610640565b8315801561053b575033600090815260016020526040902080544291908490811061052757fe5b906000526020600020906002020160010154115b156105b25782935082856000015410156105675760405162461bcd60e51b815260040161023690611084565b8454610579908463ffffffff610a6716565b80865561059e5733600090815260016020526040812061059891610e84565b50610648565b6105af83600263ffffffff610a9416565b92505b8083116105fb576105c9818463ffffffff610a6716565b3360009081526001602052604090208054849081106105e457fe5b600091825260209091206002909102015550610648565b33600090815260016020526040902080548390811061061657fe5b6000918252602082206002909102018181556001015561063c838263ffffffff610a6716565b9250505b6001016104c2565b50600054610666906001600160a01b0316338663ffffffff610a1116565b600480548301905560405133907ff066d5b6f283fa97596dc970c204867ddb3350b7df1d71ff8b8979ac9c0e783b906106a29087908690611440565b60405180910390a250505050565b6001600160a01b038116600090815260016020526040812060609082805b825481101561082357428382815481106106e457fe5b906000526020600020906002020160010154111561081b578161075a57825481900367ffffffffffffffff8111801561071c57600080fd5b5060405190808252806020026020018201604052801561075657816020015b610743610ea8565b81526020019060019003908161073b5790505b5093505b82818154811061076657fe5b90600052602060002090600202016000015484838151811061078457fe5b602002602001015160006002811061079857fe5b602002015282548390829081106107ab57fe5b9060005260206000209060020201600101548483815181106107c957fe5b60200260200101516001600281106107dd57fe5b60200201528254600190920191610818908490839081106107fa57fe5b6000918252602090912060029091020154869063ffffffff610ad516565b94505b6001016106ce565b505050915091565b6001600160a01b038116600090815260036020526040812080548291829115610988576001600160a01b038516600090815260016020526040812054905b81811015610919576001600160a01b038716600090815260016020526040812080548390811061089557fe5b906000526020600020906002020160000154905080600014156108b85750610911565b6001600160a01b03881660009081526001602052604090208054429190849081106108df57fe5b90600052602060002090600202016001015411156108fd5750610919565b61090d858263ffffffff610ad516565b9450505b600101610869565b50815460029061092f908563ffffffff610a6716565b8161093657fe5b0661096757815461096090600290610954908663ffffffff610a6716565b9063ffffffff610afa16565b9350610986565b815461098090600290610954908663ffffffff610a6716565b60010193505b505b805461099a908463ffffffff610a6716565b9350509193909250565b60045481565b6006546001600160a01b031681565b6007546001600160a01b031633146109e35760405162461bcd60e51b8152600401610236906112e6565b6109ee838383610b2c565b600054610a0c906001600160a01b031633308563ffffffff610cb716565b505050565b610a0c8363a9059cbb60e01b8484604051602401610a30929190611001565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610cde565b600082821115610a895760405162461bcd60e51b8152600401610236906110c6565b508082035b92915050565b600082610aa357506000610a8e565b82820282848281610ab057fe5b0414610ace5760405162461bcd60e51b815260040161023690611248565b9392505050565b600082820183811015610ace5760405162461bcd60e51b81526004016102369061104d565b6000808211610b1b5760405162461bcd60e51b8152600401610236906111af565b818381610b2457fe5b049392505050565b6001600160a01b03831660009081526003602052604090208054610b56908463ffffffff610ad516565b8155600254600090610b90908490610b8490610b78428263ffffffff610afa16565b9063ffffffff610a9416565b9063ffffffff610ad516565b6001600160a01b0386166000908152600160205260409020805491925090801580610bda575082826001830381548110610bc657fe5b906000526020600020906002020160010154105b15610c1c576040805180820190915286815260208082018581528454600181810187556000878152939093209351600290910290930192835551910155610c6d565b610c4c86836001840381548110610c2f57fe5b60009182526020909120600290910201549063ffffffff610ad516565b826001830381548110610c5b57fe5b60009182526020909120600290910201555b866001600160a01b03167fdc84f1a2383b197da4e235bc9e4982f35f6cac087dc69611511d4d2f59acaec687604051610ca691906113c4565b60405180910390a250505050505050565b610cd8846323b872dd60e01b858585604051602401610a3093929190610fdd565b50505050565b6060610d33826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d6d9092919063ffffffff16565b805190915015610a0c5780806020019051810190610d519190610f3d565b610a0c5760405162461bcd60e51b81526004016102369061137a565b6060610d7c8484600085610d84565b949350505050565b606082471015610da65760405162461bcd60e51b815260040161023690611169565b610daf85610e45565b610dcb5760405162461bcd60e51b815260040161023690611316565b60006060866001600160a01b03168587604051610de89190610fad565b60006040518083038185875af1925050503d8060008114610e25576040519150601f19603f3d011682016040523d82523d6000602084013e610e2a565b606091505b5091509150610e3a828286610e4b565b979650505050505050565b3b151590565b60608315610e5a575081610ace565b825115610e6a5782518084602001fd5b8160405162461bcd60e51b8152600401610236919061101a565b5080546000825560020290600052602060002090810190610ea59190610ec6565b50565b60405180604001604052806002906020820280368337509192915050565b610eea91905b80821115610ee65760008082556001820155600201610ecc565b5090565b90565b600060208284031215610efe578081fd5b8135610ace81611490565b600080600060608486031215610f1d578182fd5b8335610f2881611490565b95602085013595506040909401359392505050565b600060208284031215610f4e578081fd5b81518015158114610ace578182fd5b60008060408385031215610f6f578182fd5b8235610f7a81611490565b91506020830135610f8a81611490565b809150509250929050565b600060208284031215610fa6578081fd5b5035919050565b60008251610fbf818460208701611464565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152611039816040850160208701611464565b601f01601f19169190910160400192915050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526022908201527f496e73756666696369656e742062616c616e63652061667465722070656e616c604082015261747960f01b606082015260800190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b60208082526026908201527f52657761726456657374696e673a206f6e6c792070656e64696e6720676f7665604082015265726e616e636560d01b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252601e908201527f52657761726456657374696e673a206f6e6c7920676f7665726e616e63650000604082015260600190565b602080825260119082015270043616e6e6f74207769746864726177203607c1b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526037908201527f52657761726456657374696e673a2070656e64696e6720676f7665726e616e6360408201527f6520616464726573732063616e6e6f7420626520307830000000000000000000606082015260800190565b6020808252601690820152754e6f742066726f6d2072657761726420736f7572636560501b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260139082015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b60006040808301858452602082818601528186518084526060870191508288019350855b81811015611432578451879084905b600283101561141f578051825260019290920191908601908601611400565b50505093830193918501916001016113f1565b509098975050505050505050565b918252602082015260400190565b9283526020830191909152604082015260600190565b60005b8381101561147f578181015183820152602001611467565b83811115610cd85750506000910152565b6001600160a01b0381168114610ea557600080fdfea2646970667358221220d8520f78d510d883eec35a3f2d6883275a78824f9d5e8d51b3724f9fae90b1e464736f6c634300060a0033

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

000000000000000000000000eed8a32c99192794430383509465e5e360c74605

-----Decoded View---------------
Arg [0] : _governance (address): 0xeED8A32c99192794430383509465e5E360C74605

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000eed8a32c99192794430383509465e5e360c74605


Deployed Bytecode Sourcemap

29030:7579:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31010:306;;;;;;;;;:::i;:::-;;29352:31;;;:::i;:::-;;;;;;;;;;;;;;;;31620:172;;;;;;;;;:::i;29130:20::-;;;:::i;:::-;;;;;;;;31324:286;;;:::i;29449:48::-;;;;;;;;;:::i;30410:282::-;;;;;;;;;:::i;29661:25::-;;;:::i;29819:27::-;;;:::i;33119:1475::-;;;;;;;;;:::i;35856:750::-;;;;;;;;;:::i;:::-;;;;;;;;;34684:1164;;;;;;;;;:::i;:::-;;;;;;;;;;29506:37;;;:::i;29695:32::-;;;:::i;31948:291::-;;;;;;;;;:::i;31010:306::-;30757:10;;-1:-1:-1;;;;;30757:10:0;30743;:24;30735:67;;;;-1:-1:-1;;;30735:67:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31109:32:0;::::1;31101:100;;;;-1:-1:-1::0;;;31101:100:0::1;;;;;;;;;31210:17;:38:::0;;-1:-1:-1;;;;;;31210:38:0::1;-1:-1:-1::0;;;;;31210:38:0;::::1;;::::0;;31264:44:::1;::::0;::::1;::::0;::::1;::::0;31210:38;;31264:44:::1;;;;;;;;;;31010:306:::0;:::o;29352:31::-;;;;:::o;31620:172::-;30757:10;;-1:-1:-1;;;;;30757:10:0;30743;:24;30735:67;;;;-1:-1:-1;;;30735:67:0;;;;;;;;;31732:18:::1;::::0;31700:6:::1;::::0;:51:::1;::::0;-1:-1:-1;;;;;31700:6:0;;::::1;::::0;31720:10;;31700:51:::1;:19;:51;:::i;:::-;-1:-1:-1::0;31783:1:0::1;31762:18;:22:::0;31620:172::o;29130:20::-;;;-1:-1:-1;;;;;29130:20:0;;:::o;31324:286::-;31392:17;;-1:-1:-1;;;;;31392:17:0;31378:10;:31;31370:82;;;;-1:-1:-1;;;31370:82:0;;;;;;;;;31492:17;;31518:10;:31;;-1:-1:-1;;;;;;31518:31:0;-1:-1:-1;;;;;31492:17:0;;;31518:31;;;;;31565:37;;;;;;31492:17;;31565:37;;29449:48;;;;;;;;;;;;;:::o;30410:282::-;30757:10;;-1:-1:-1;;;;;30757:10:0;30743;:24;30735:67;;;;-1:-1:-1;;;30735:67:0;;;;;;;;;30529:1:::1;30512:6:::0;-1:-1:-1;;;;;30512:6:0::1;:19:::0;30504:51:::1;;;;-1:-1:-1::0;;;30504:51:0::1;;;;;;;;;-1:-1:-1::0;;;;;30574:27:0;::::1;30566:52;;;;-1:-1:-1::0;;;30566:52:0::1;;;;;;;;;30629:6;:16:::0;;-1:-1:-1;;;;;30629:16:0;;::::1;-1:-1:-1::0;;;;;;30629:16:0;;::::1;;::::0;;;30656:12:::1;:28:::0;;;;;::::1;::::0;::::1;;::::0;;30410:282::o;29661:25::-;;;-1:-1:-1;;;;;29661:25:0;;:::o;29819:27::-;;;-1:-1:-1;;;;;29819:27:0;;:::o;33119:1475::-;33195:1;33186:6;:10;33178:40;;;;-1:-1:-1;;;33178:40:0;;;;;;;;;33265:10;33229:20;33252:24;;;:12;:24;;;;;33375:10;;33252:24;;33229:20;33345:6;;33375:25;;33345:6;33375:25;:14;:25;:::i;:::-;33362:38;;:10;33411:986;33487:10;33450:20;33473:25;;;:13;:25;;;;;:28;;33499:1;;33473:28;;;;;;;;;;;;;;;;:35;;;33450:58;;33527:12;33543:1;33527:17;33523:66;;;33565:8;;;33523:66;33607:18;;:79;;;;-1:-1:-1;33643:10:0;33629:25;;;;:13;:25;;;;;:28;;33671:15;;33629:25;33655:1;;33629:28;;;;;;;;;;;;;;;;:39;;;:57;33607:79;33603:480;;;33723:9;33707:25;;33773:9;33759:3;:10;;;:23;;33751:70;;;;-1:-1:-1;;;33751:70:0;;;;;;;;;33853:10;;:25;;33868:9;33853:25;:14;:25;:::i;:::-;33840:38;;;33897:124;;33962:10;33948:25;;;;:13;:25;;;;;33941:32;;;:::i;:::-;33996:5;;;33897:124;34051:16;:9;34065:1;34051:16;:13;:16;:::i;:::-;34039:28;;33603:480;34114:12;34101:9;:25;34097:289;;34185:27;:12;34202:9;34185:27;:16;:27;:::i;:::-;34161:10;34147:25;;;;:13;:25;;;;;:28;;34173:1;;34147:28;;;;;;;;;;;;;;;;;;;:65;-1:-1:-1;34231:5:0;;34097:289;34298:10;34284:25;;;;:13;:25;;;;;:28;;34310:1;;34284:28;;;;;;;;;;;;;;;;;;34277:35;;;;;;34343:27;:9;34357:12;34343:27;:13;:27;:::i;:::-;34331:39;;33411:986;;33430:3;;33411:986;;;-1:-1:-1;34411:6:0;;:39;;-1:-1:-1;;;;;34411:6:0;34431:10;34443:6;34411:39;:19;:39;:::i;:::-;34484:18;;;:34;;34463:55;;34536:50;;34552:10;;34536:50;;;;34564:6;;34505:13;;34536:50;;;;;;;;;;33119:1475;;;;:::o;35856:750::-;-1:-1:-1;;;;;36052:19:0;;35958:10;36052:19;;;:13;:19;;;;;35970:29;;35958:10;;36101:459;36122:15;;36118:19;;36101:459;;;36188:15;36163:8;36172:1;36163:11;;;;;;;;;;;;;;;;;;:22;;;:40;36159:390;;;36228:8;36224:106;;36290:15;;:19;;;36276:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;36261:49;;36224:106;36371:8;36380:1;36371:11;;;;;;;;;;;;;;;;;;:18;;;36348:12;36361:3;36348:17;;;;;;;;;;;;;;36366:1;36348:20;;;;;;;;;;:41;36431:11;;:8;;36440:1;;36431:11;;;;;;;;;;;;;;;;:22;;;36408:12;36421:3;36408:17;;;;;;;;;;;;;;36426:1;36408:20;;;;;;;;;;:45;36514:11;;36472:5;;;;;36504:29;;36514:8;;36523:1;;36514:11;;;;;;;;;;;;;;;;;;;:18;36504:5;;:29;:9;:29;:::i;:::-;36496:37;;36159:390;36139:3;;36101:459;;;-1:-1:-1;;;35856:750:0;;;:::o;34684:1164::-;-1:-1:-1;;;;;34899:18:0;;34791:14;34899:18;;;:12;:18;;;;;34934:10;;34791:14;;;;34934;34930:797;;-1:-1:-1;;;;;34982:19:0;;34965:14;34982:19;;;:13;:19;;;;;:26;;35023:416;35044:6;35040:1;:10;35023:416;;;-1:-1:-1;;;;;35099:19:0;;35076:20;35099:19;;;:13;:19;;;;;:22;;35119:1;;35099:22;;;;;;;;;;;;;;;;:29;;;35076:52;;35151:12;35167:1;35151:17;35147:74;;;35193:8;;;35147:74;-1:-1:-1;;;;;35243:19:0;;;;;;:13;:19;;;;;:22;;35279:15;;35243:19;35263:1;;35243:22;;;;;;;;;;;;;;;;:33;;;:51;35239:105;;;35319:5;;;35239:105;35385:38;:20;35410:12;35385:38;:24;:38;:::i;:::-;35362:61;;35023:416;;35052:3;;35023:416;;;-1:-1:-1;35471:10:0;;35510:1;;35471:36;;35486:20;35471:36;:14;:36;:::i;:::-;:40;;;;;;35467:249;;35553:10;;:43;;35594:1;;35553:36;;35568:20;35553:36;:14;:36;:::i;:::-;:40;:43;:40;:43;:::i;:::-;35537:59;;35467:249;;;35653:10;;:43;;35694:1;;35653:36;;35668:20;35653:36;:14;:36;:::i;:43::-;35699:1;35653:47;35637:63;;35467:249;34930:797;;35746:10;;:29;;35761:13;35746:29;:14;:29;:::i;:::-;35737:38;-1:-1:-1;;34684:1164:0;;;;;:::o;29506:37::-;;;;:::o;29695:32::-;;;-1:-1:-1;;;;;29695:32:0;;:::o;31948:291::-;32064:12;;-1:-1:-1;;;;;32064:12:0;32050:10;:26;32042:61;;;;-1:-1:-1;;;32042:61:0;;;;;;;;;32114:48;32133:4;32139:6;32147:14;32114:18;:48::i;:::-;32173:6;;:58;;-1:-1:-1;;;;;32173:6:0;32197:10;32217:4;32224:6;32173:58;:23;:58;:::i;:::-;31948:291;;;:::o;25193:177::-;25276:86;25296:5;25326:23;;;25351:2;25355:5;25303:58;;;;;;;;;;;;;;-1:-1:-1;;25303:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;25303:58:0;-1:-1:-1;;;;;;25303:58:0;;;;;;;;;;25276:19;:86::i;12279:158::-;12337:7;12370:1;12365;:6;;12357:49;;;;-1:-1:-1;;;12357:49:0;;;;;;;;;-1:-1:-1;12424:5:0;;;12279:158;;;;;:::o;12696:220::-;12754:7;12778:6;12774:20;;-1:-1:-1;12793:1:0;12786:8;;12774:20;12817:5;;;12821:1;12817;:5;:1;12841:5;;;;;:10;12833:56;;;;-1:-1:-1;;;12833:56:0;;;;;;;;;12907:1;12696:220;-1:-1:-1;;;12696:220:0:o;11817:179::-;11875:7;11907:5;;;11931:6;;;;11923:46;;;;-1:-1:-1;;;11923:46:0;;;;;;;;13394:153;13452:7;13484:1;13480;:5;13472:44;;;;-1:-1:-1;;;13472:44:0;;;;;;;;;13538:1;13534;:5;;;;;;;13394:153;-1:-1:-1;;;13394:153:0:o;32247:697::-;-1:-1:-1;;;;;32372:18:0;;32349:20;32372:18;;;:12;:18;;;;;32414:10;;:22;;32429:6;32414:22;:14;:22;:::i;:::-;32401:35;;32504:8;;32401:10;;32470:63;;32518:14;;32470:43;;:29;:15;32504:8;32470:29;:19;:29;:::i;:::-;:33;:43;:33;:43;:::i;:::-;:47;:63;:47;:63;:::i;:::-;-1:-1:-1;;;;;32579:19:0;;32544:32;32579:19;;;:13;:19;;;;;32623:15;;32449:84;;-1:-1:-1;32579:19:0;32655:8;;;:51;;;32696:10;32667:8;32680:1;32676:3;:5;32667:15;;;;;;;;;;;;;;;;;;:26;;;:39;32655:51;32651:246;;;32737:55;;;;;;;;;;;;;;;;;;;32723:70;;;;;;;;-1:-1:-1;32723:70:0;;;;;;;;;;;;;;;;;;;;;;;32651:246;;;32851:34;32878:6;32851:8;32864:1;32860:3;:5;32851:15;;;;;;;;;;;;;;;;;;;;;:22;;:34;:26;:34;:::i;:::-;32826:8;32839:1;32835:3;:5;32826:15;;;;;;;;;;;;;;;;;;;;;:59;32651:246;32923:4;-1:-1:-1;;;;;32912:24:0;;32929:6;32912:24;;;;;;;;;;;;;;;32247:697;;;;;;;:::o;25378:205::-;25479:96;25499:5;25529:27;;;25558:4;25564:2;25568:5;25506:68;;;;;;;;;;;25479:96;25378:205;;;;:::o;27498:761::-;27922:23;27948:69;27976:4;27948:69;;;;;;;;;;;;;;;;;27956:5;-1:-1:-1;;;;;27948:27:0;;;:69;;;;;:::i;:::-;28032:17;;27922:95;;-1:-1:-1;28032:21:0;28028:224;;28174:10;28163:30;;;;;;;;;;;;;;28155:85;;;;-1:-1:-1;;;28155:85:0;;;;;;;;20182:195;20285:12;20317:52;20339:6;20347:4;20353:1;20356:12;20317:21;:52::i;:::-;20310:59;20182:195;-1:-1:-1;;;;20182:195:0:o;21234:530::-;21361:12;21419:5;21394:21;:30;;21386:81;;;;-1:-1:-1;;;21386:81:0;;;;;;;;;21486:18;21497:6;21486:10;:18::i;:::-;21478:60;;;;-1:-1:-1;;;21478:60:0;;;;;;;;;21612:12;21626:23;21653:6;-1:-1:-1;;;;;21653:11:0;21673:5;21681:4;21653:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21611:75;;;;21704:52;21722:7;21731:10;21743:12;21704:17;:52::i;:::-;21697:59;21234:530;-1:-1:-1;;;;;;;21234:530:0:o;17264:422::-;17631:20;17670:8;;;17264:422::o;23774:742::-;23889:12;23918:7;23914:595;;;-1:-1:-1;23949:10:0;23942:17;;23914:595;24063:17;;:21;24059:439;;24326:10;24320:17;24387:15;24374:10;24370:2;24366:19;24359:44;24274:148;24469:12;24462:20;;-1:-1:-1;;;24462:20:0;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;577:241::-;;681:2;669:9;660:7;656:23;652:32;649:2;;;-1:-1;;687:12;649:2;85:6;72:20;97:33;124:5;97:33;;825:491;;;;963:2;951:9;942:7;938:23;934:32;931:2;;;-1:-1;;969:12;931:2;85:6;72:20;97:33;124:5;97:33;;;1021:63;1121:2;1160:22;;507:20;;-1:-1;1229:2;1268:22;;;507:20;;925:391;-1:-1;;;925:391;1323:257;;1435:2;1423:9;1414:7;1410:23;1406:32;1403:2;;;-1:-1;;1441:12;1403:2;223:6;217:13;23766:5;22553:13;22546:21;23744:5;23741:32;23731:2;;-1:-1;;23777:12;1587:392;;;1721:2;1709:9;1700:7;1696:23;1692:32;1689:2;;;-1:-1;;1727:12;1689:2;370:6;357:20;382:46;422:5;382:46;;;1779:76;-1:-1;1892:2;1931:22;;72:20;97:33;72:20;97:33;;;1900:63;;;;1683:296;;;;;;1986:241;;2090:2;2078:9;2069:7;2065:23;2061:32;2058:2;;;-1:-1;;2096:12;2058:2;-1:-1;507:20;;2052:175;-1:-1;2052:175;10825:271;;4570:5;21051:12;4681:52;4726:6;4721:3;4714:4;4707:5;4703:16;4681:52;;;4745:16;;;;;10959:137;-1:-1;;10959:137;11103:222;-1:-1;;;;;22752:54;;;;2761:37;;11230:2;11215:18;;11201:124;11332:444;-1:-1;;;;;22752:54;;;2761:37;;22752:54;;;;11679:2;11664:18;;2761:37;11762:2;11747:18;;10656:37;;;;11515:2;11500:18;;11486:290;11783:333;-1:-1;;;;;22752:54;;;;2761:37;;12102:2;12087:18;;10656:37;11938:2;11923:18;;11909:207;12378:310;;12525:2;12546:17;12539:47;5077:5;21051:12;21869:6;12525:2;12514:9;12510:18;21857:19;5171:52;5216:6;21897:14;12514:9;21897:14;12525:2;5197:5;5193:16;5171:52;;;23540:7;23524:14;-1:-1;;23520:28;5235:39;;;;21897:14;5235:39;;12496:192;-1:-1;;12496:192;12695:416;12895:2;12909:47;;;5511:2;12880:18;;;21857:19;5547:29;21897:14;;;5527:50;5596:12;;;12866:245;13118:416;13318:2;13332:47;;;5847:2;13303:18;;;21857:19;5883:34;21897:14;;;5863:55;-1:-1;;;5938:12;;;5931:26;5976:12;;;13289:245;13541:416;13741:2;13755:47;;;6227:2;13726:18;;;21857:19;6263:32;21897:14;;;6243:53;6315:12;;;13712:245;13964:416;14164:2;14178:47;;;6566:2;14149:18;;;21857:19;-1:-1;;;21897:14;;;6582:35;6636:12;;;14135:245;14387:416;14587:2;14601:47;;;6887:2;14572:18;;;21857:19;6923:34;21897:14;;;6903:55;-1:-1;;;6978:12;;;6971:30;7020:12;;;14558:245;14810:416;15010:2;15024:47;;;7271:2;14995:18;;;21857:19;7307:34;21897:14;;;7287:55;-1:-1;;;7362:12;;;7355:30;7404:12;;;14981:245;15233:416;15433:2;15447:47;;;7655:2;15418:18;;;21857:19;7691:28;21897:14;;;7671:49;7739:12;;;15404:245;15656:416;15856:2;15870:47;;;7990:2;15841:18;;;21857:19;8026:32;21897:14;;;8006:53;8078:12;;;15827:245;16079:416;16279:2;16293:47;;;8329:2;16264:18;;;21857:19;-1:-1;;;21897:14;;;8345:40;8404:12;;;16250:245;16502:416;16702:2;16716:47;;;8655:2;16687:18;;;21857:19;8691:34;21897:14;;;8671:55;-1:-1;;;8746:12;;;8739:25;8783:12;;;16673:245;16925:416;17125:2;17139:47;;;9034:2;17110:18;;;21857:19;9070:34;21897:14;;;9050:55;9139:25;9125:12;;;9118:47;9184:12;;;17096:245;17348:416;17548:2;17562:47;;;9435:2;17533:18;;;21857:19;-1:-1;;;21897:14;;;9451:45;9515:12;;;17519:245;17771:416;17971:2;17985:47;;;9766:2;17956:18;;;21857:19;9802:31;21897:14;;;9782:52;9853:12;;;17942:245;18194:416;18394:2;18408:47;;;10104:2;18379:18;;;21857:19;-1:-1;;;21897:14;;;10120:42;10181:12;;;18365:245;18617:416;18817:2;18831:47;;;10432:2;18802:18;;;21857:19;10468:34;21897:14;;;10448:55;-1:-1;;;10523:12;;;10516:34;10569:12;;;18788:245;19040:222;10656:37;;;19167:2;19152:18;;19138:124;19269:573;;19520:2;;19509:9;19505:18;10686:5;10663:3;10656:37;19638:2;19520;19638;19627:9;19623:18;19616:48;19678:154;3109:5;21051:12;21869:6;21864:3;21857:19;21897:14;19509:9;21897:14;3121:116;;19638:2;3331:5;20778:14;3343:21;;-1:-1;3370:329;3395:6;3392:1;3389:13;3370:329;;;3456:13;;-1:-1;;2368:92;;4132:258;21186:4;4154:1;4151:13;4132:258;;;4218:13;;10656:37;;3417:1;4172:9;;;;;2662:14;;;;21576;;4132:258;;;-1:-1;;;21576:14;;;;2480;;;;3417:1;3410:9;3370:329;;;-1:-1;19670:162;;19491:351;-1:-1;;;;;;;;19491:351;19849:333;10656:37;;;20168:2;20153:18;;10656:37;20004:2;19989:18;;19975:207;20189:444;10656:37;;;20536:2;20521:18;;10656:37;;;;20619:2;20604:18;;10656:37;20372:2;20357:18;;20343:290;23180:268;23245:1;23252:101;23266:6;23263:1;23260:13;23252:101;;;23333:11;;;23327:18;23314:11;;;23307:39;23288:2;23281:10;23252:101;;;23368:6;23365:1;23362:13;23359:2;;;-1:-1;;23245:1;23415:16;;23408:27;23229:219;23561:117;-1:-1;;;;;22752:54;;23620:35;;23610:2;;23669:1;;23659:12

Swarm Source

ipfs://d8520f78d510d883eec35a3f2d6883275a78824f9d5e8d51b3724f9fae90b1e4

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.