ETH Price: $3,351.74 (-1.10%)
Gas: 4.63 Gwei

Contract

0x1F533aCf0C12D12997c49F4B64192030B6647c46
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw210950562024-11-01 20:01:4757 days ago1730491307IN
0x1F533aCf...0B6647c46
0 ETH0.000248265.21541468
Withdraw200643552024-06-10 22:17:11201 days ago1718057831IN
0x1F533aCf...0B6647c46
0 ETH0.0014852618.15680598
Withdraw192866922024-02-23 0:22:23310 days ago1708647743IN
0x1F533aCf...0B6647c46
0 ETH0.0015437164.32145231
Withdraw192866662024-02-23 0:16:59310 days ago1708647419IN
0x1F533aCf...0B6647c46
0 ETH0.001171850.94796418
Recover ERC20192812142024-02-22 5:55:23311 days ago1708581323IN
0x1F533aCf...0B6647c46
0 ETH0.0007662332.00517047
Withdraw192812002024-02-22 5:52:35311 days ago1708581155IN
0x1F533aCf...0B6647c46
0 ETH0.00331113126.46141743
Withdraw192811852024-02-22 5:49:35311 days ago1708580975IN
0x1F533aCf...0B6647c46
0 ETH0.0016210661.91296479
Withdraw192811662024-02-22 5:45:47311 days ago1708580747IN
0x1F533aCf...0B6647c46
0 ETH0.0012829649
Withdraw192811362024-02-22 5:39:23311 days ago1708580363IN
0x1F533aCf...0B6647c46
0 ETH0.0010345639.51301563
Withdraw192810222024-02-22 5:16:35311 days ago1708578995IN
0x1F533aCf...0B6647c46
0 ETH0.001195451.97407931
Withdraw187103842023-12-04 3:40:59391 days ago1701661259IN
0x1F533aCf...0B6647c46
0 ETH0.0039317548.06432952
Withdraw182000222023-09-23 17:31:59462 days ago1695490319IN
0x1F533aCf...0B6647c46
0 ETH0.000791449.67512405
Provide182000122023-09-23 17:29:59462 days ago1695490199IN
0x1F533aCf...0B6647c46
0 ETH0.00057279
Withdraw165920172023-02-09 15:13:35689 days ago1675955615IN
0x1F533aCf...0B6647c46
0 ETH0.0027619333.76369587
Provide159757302022-11-15 13:27:47775 days ago1668518867IN
0x1F533aCf...0B6647c46
0 ETH0.0008264912.98833099
Withdraw158434702022-10-28 2:05:59793 days ago1666922759IN
0x1F533aCf...0B6647c46
0 ETH0.0006520210.07739616
Withdraw158065682022-10-22 22:15:59798 days ago1666476959IN
0x1F533aCf...0B6647c46
0 ETH0.0015232632
Provide158065002022-10-22 22:02:11798 days ago1666476131IN
0x1F533aCf...0B6647c46
0 ETH0.0016419232
Provide153846972022-08-21 15:26:17861 days ago1661095577IN
0x1F533aCf...0B6647c46
0 ETH0.0015364624.14539176
Withdraw153533042022-08-16 16:00:00866 days ago1660665600IN
0x1F533aCf...0B6647c46
0 ETH0.000460677.12
Provide151101282022-07-09 18:55:08903 days ago1657392908IN
0x1F533aCf...0B6647c46
0 ETH0.0009240414.51576842
Withdraw144437482022-03-23 16:52:571012 days ago1648054377IN
0x1F533aCf...0B6647c46
0 ETH0.0022946635.46508292
Provide144437392022-03-23 16:51:101012 days ago1648054270IN
0x1F533aCf...0B6647c46
0 ETH0.0025336.98302577
Withdraw144316982022-03-21 19:58:421013 days ago1647892722IN
0x1F533aCf...0B6647c46
0 ETH0.0040578349.60561978
Provide144316962022-03-21 19:58:001013 days ago1647892680IN
0x1F533aCf...0B6647c46
0 ETH0.0026202144.53573184
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:
GradualTokenSwap

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-27
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


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/math/SafeMath.sol


pragma solidity >=0.6.0 <0.8.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: @openzeppelin/contracts/utils/Address.sol


pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


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: @openzeppelin/contracts/GSN/Context.sol


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/Ownable.sol


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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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: contracts/ERC20Recovery.sol

pragma solidity >=0.4.25 <0.9.0;



abstract contract ERC20Recovery is Ownable{
    using SafeERC20 for IERC20;
    function recoverERC20(IERC20 token) external onlyOwner {
        token.safeTransfer(owner(), token.balanceOf(address(this)));
    }
}

// File: contracts/GradualTokenSwap.sol

pragma solidity 0.7.6;
// SPDX-License-Identifier: GPL-3.0-or-later



/**
 * @title GTS
 * @dev A token swap contract that gradually releases tokens on its balance
 */
contract GradualTokenSwap is ERC20Recovery {
    // solhint-disable not-rely-on-time
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    event Withdrawn(address account, uint256 amount);

    // Durations and timestamps in UNIX time, also in block.timestamp.
    uint256 public immutable start;
    uint256 public immutable duration;
    IERC20 public immutable rHEGIC;
    IERC20 public immutable HEGIC;

    mapping(address => uint) public released;
    mapping(address => uint) public provided;

    /**
     * @dev Creates a contract that can be used for swapping rHEGIC into HEGIC
     * @param _start UNIX time at which the unlock period starts
     * @param _duration Duration in seconds for unlocking tokens
     */
    constructor (uint256 _start, uint256 _duration, IERC20 _rHEGIC, IERC20 _HEGIC) {
        if(_start == 0) _start = block.timestamp;
        require(_duration > 0, "GTS: duration is 0");

        duration = _duration;
        start = _start;
        rHEGIC =_rHEGIC;
        HEGIC = _HEGIC;
    }

    /**
     * @dev Provide rHEGIC tokens to the contract for later exchange
     */
    function provide(uint amount) external {
      rHEGIC.safeTransferFrom(msg.sender, address(this), amount);
      provided[msg.sender] = provided[msg.sender].add(amount);
    }

    /**
     * @dev Withdraw unlocked user's HEGIC tokens
     */
    function withdraw() external {
        uint amount = available(msg.sender);
        require(amount > 0, "GTS: You are have not unlocked tokens yet");
        released[msg.sender] = released[msg.sender].add(amount);
        HEGIC.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

    /**
     * @dev Calculates the amount of tokens that has already been unlocked but hasn't been swapped yet
     */
    function available(address account) public view returns (uint256) {
        return unlocked(account).sub(released[account]);
    }

    /**
     * @dev Calculates the total amount of tokens that has already been unlocked
     */
    function unlocked(address account) public view returns (uint256) {
        if(block.timestamp < start)
            return 0;
        if (block.timestamp >= start.add(duration)) {
            return provided[account];
        } else {
            return provided[account].mul(block.timestamp.sub(start)).div(duration);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"contract IERC20","name":"_rHEGIC","type":"address"},{"internalType":"contract IERC20","name":"_HEGIC","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"HEGIC","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"provide","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"provided","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rHEGIC","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unlocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405234801561001157600080fd5b506040516110733803806110738339818101604052608081101561003457600080fd5b5080516020820151604083015160609093015191929091600061005561011c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350836100a8574293505b600083116100f2576040805162461bcd60e51b815260206004820152601260248201527104754533a206475726174696f6e20697320360741b604482015290519081900360640190fd5b60a0929092526080929092526001600160601b0319606092831b811660c052911b1660e052610120565b3390565b60805160a05160c05160601c60e05160601c610ef561017e6000398061039152806104b45250806102bd52806104d852508061025a52806106a452806106f252508061062a52806106505280610683528061071a5250610ef56000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c5780639e8c708e116100665780639e8c708e146101de578063be9a655514610204578063d1846d0c1461020c578063f2fde38b14610232576100ea565b80638da5cb5b1461018a5780639852595c146101925780639ddb9ee1146101b8576100ea565b80633ccfd60b116100c85780633ccfd60b1461014e578063715018a61461015657806371e395a81461015e5780637bf91af714610182576100ea565b80630fb5a6b4146100ef57806310098ad5146101095780632e2ebe061461012f575b600080fd5b6100f7610258565b60408051918252519081900360200190f35b6100f76004803603602081101561011f57600080fd5b50356001600160a01b031661027c565b61014c6004803603602081101561014557600080fd5b50356102b0565b005b61014c610312565b61014c6103fe565b6101666104b2565b604080516001600160a01b039092168252519081900360200190f35b6101666104d6565b6101666104fa565b6100f7600480360360208110156101a857600080fd5b50356001600160a01b0316610509565b6100f7600480360360208110156101ce57600080fd5b50356001600160a01b031661051b565b61014c600480360360208110156101f457600080fd5b50356001600160a01b031661052d565b6100f7610628565b6100f76004803603602081101561022257600080fd5b50356001600160a01b031661064c565b61014c6004803603602081101561024857600080fd5b50356001600160a01b031661076a565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b0381166000908152600160205260408120546102a8906102a28461064c565b90610874565b90505b919050565b6102e56001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846108bf565b336000908152600260205260409020546102ff908261091f565b3360009081526002602052604090205550565b600061031d3361027c565b90506000811161035e5760405162461bcd60e51b8152600401808060200182810382526029815260200180610e4c6029913960400191505060405180910390fd5b33600090815260016020526040902054610378908261091f565b336000818152600160205260409020919091556103c0907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169083610979565b604080513381526020810183905281517f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5929181900390910190a150565b6104066109d0565b6000546001600160a01b03908116911614610468576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031690565b60016020526000908152604090205481565b60026020526000908152604090205481565b6105356109d0565b6000546001600160a01b03908116911614610597576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6106256105a26104fa565b604080516370a0823160e01b815230600482015290516001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156105e857600080fd5b505afa1580156105fc573d6000803e3d6000fd5b505050506040513d602081101561061257600080fd5b50516001600160a01b0384169190610979565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f000000000000000000000000000000000000000000000000000000000000000042101561067e575060006102ab565b6106c87f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061091f565b42106106ed57506001600160a01b0381166000908152600260205260409020546102ab565b6107637f000000000000000000000000000000000000000000000000000000000000000061075d61073e427f0000000000000000000000000000000000000000000000000000000000000000610874565b6001600160a01b038616600090815260026020526040902054906109d4565b90610a2d565b90506102ab565b6107726109d0565b6000546001600160a01b039081169116146107d4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166108195760405162461bcd60e51b8152600401808060200182810382526026815260200180610e006026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006108b683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a6f565b90505b92915050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610919908590610b0b565b50505050565b6000828201838110156108b6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109cb908490610b0b565b505050565b3390565b6000826109e3575060006108b9565b828202828482816109f057fe5b04146108b65760405162461bcd60e51b8152600401808060200182810382526021815260200180610e756021913960400191505060405180910390fd5b60006108b683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610bbc565b60008184841115610afe5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ac3578181015183820152602001610aab565b50505050905090810190601f168015610af05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50508183035b9392505050565b6000610b60826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c219092919063ffffffff16565b8051909150156109cb57808060200190516020811015610b7f57600080fd5b50516109cb5760405162461bcd60e51b815260040180806020018281038252602a815260200180610e96602a913960400191505060405180910390fd5b60008183610c0b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ac3578181015183820152602001610aab565b506000838581610c1757fe5b0495945050505050565b6060610c308484600085610c38565b949350505050565b606082471015610c795760405162461bcd60e51b8152600401808060200182810382526026815260200180610e266026913960400191505060405180910390fd5b610c8285610d93565b610cd3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310610d115780518252601f199092019160209182019101610cf2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610d73576040519150601f19603f3d011682016040523d82523d6000602084013e610d78565b606091505b5091509150610d88828286610d99565b979650505050505050565b3b151590565b60608315610da8575081610b04565b825115610db85782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315610ac3578181015183820152602001610aab56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4754533a20596f75206172652068617665206e6f7420756e6c6f636b656420746f6b656e7320796574536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122095be9568954cacc0b9ecb9c4b8ff2e10daa90052e18b145aa458c894d7cb9b5564736f6c63430007060033000000000000000000000000000000000000000000000000000000005fe9c8c00000000000000000000000000000000000000000000000000000000000ed4e0000000000000000000000000047c0ad2ae6c0ed4bcf7bc5b380d7205e89436e84000000000000000000000000584bc13c7d411c00c01a62e8019472de68768430

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c5780639e8c708e116100665780639e8c708e146101de578063be9a655514610204578063d1846d0c1461020c578063f2fde38b14610232576100ea565b80638da5cb5b1461018a5780639852595c146101925780639ddb9ee1146101b8576100ea565b80633ccfd60b116100c85780633ccfd60b1461014e578063715018a61461015657806371e395a81461015e5780637bf91af714610182576100ea565b80630fb5a6b4146100ef57806310098ad5146101095780632e2ebe061461012f575b600080fd5b6100f7610258565b60408051918252519081900360200190f35b6100f76004803603602081101561011f57600080fd5b50356001600160a01b031661027c565b61014c6004803603602081101561014557600080fd5b50356102b0565b005b61014c610312565b61014c6103fe565b6101666104b2565b604080516001600160a01b039092168252519081900360200190f35b6101666104d6565b6101666104fa565b6100f7600480360360208110156101a857600080fd5b50356001600160a01b0316610509565b6100f7600480360360208110156101ce57600080fd5b50356001600160a01b031661051b565b61014c600480360360208110156101f457600080fd5b50356001600160a01b031661052d565b6100f7610628565b6100f76004803603602081101561022257600080fd5b50356001600160a01b031661064c565b61014c6004803603602081101561024857600080fd5b50356001600160a01b031661076a565b7f0000000000000000000000000000000000000000000000000000000000ed4e0081565b6001600160a01b0381166000908152600160205260408120546102a8906102a28461064c565b90610874565b90505b919050565b6102e56001600160a01b037f00000000000000000000000047c0ad2ae6c0ed4bcf7bc5b380d7205e89436e84163330846108bf565b336000908152600260205260409020546102ff908261091f565b3360009081526002602052604090205550565b600061031d3361027c565b90506000811161035e5760405162461bcd60e51b8152600401808060200182810382526029815260200180610e4c6029913960400191505060405180910390fd5b33600090815260016020526040902054610378908261091f565b336000818152600160205260409020919091556103c0907f000000000000000000000000584bc13c7d411c00c01a62e8019472de687684306001600160a01b03169083610979565b604080513381526020810183905281517f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5929181900390910190a150565b6104066109d0565b6000546001600160a01b03908116911614610468576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b7f000000000000000000000000584bc13c7d411c00c01a62e8019472de6876843081565b7f00000000000000000000000047c0ad2ae6c0ed4bcf7bc5b380d7205e89436e8481565b6000546001600160a01b031690565b60016020526000908152604090205481565b60026020526000908152604090205481565b6105356109d0565b6000546001600160a01b03908116911614610597576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6106256105a26104fa565b604080516370a0823160e01b815230600482015290516001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156105e857600080fd5b505afa1580156105fc573d6000803e3d6000fd5b505050506040513d602081101561061257600080fd5b50516001600160a01b0384169190610979565b50565b7f000000000000000000000000000000000000000000000000000000005fe9c8c081565b60007f000000000000000000000000000000000000000000000000000000005fe9c8c042101561067e575060006102ab565b6106c87f000000000000000000000000000000000000000000000000000000005fe9c8c07f0000000000000000000000000000000000000000000000000000000000ed4e0061091f565b42106106ed57506001600160a01b0381166000908152600260205260409020546102ab565b6107637f0000000000000000000000000000000000000000000000000000000000ed4e0061075d61073e427f000000000000000000000000000000000000000000000000000000005fe9c8c0610874565b6001600160a01b038616600090815260026020526040902054906109d4565b90610a2d565b90506102ab565b6107726109d0565b6000546001600160a01b039081169116146107d4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166108195760405162461bcd60e51b8152600401808060200182810382526026815260200180610e006026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006108b683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a6f565b90505b92915050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610919908590610b0b565b50505050565b6000828201838110156108b6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109cb908490610b0b565b505050565b3390565b6000826109e3575060006108b9565b828202828482816109f057fe5b04146108b65760405162461bcd60e51b8152600401808060200182810382526021815260200180610e756021913960400191505060405180910390fd5b60006108b683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610bbc565b60008184841115610afe5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ac3578181015183820152602001610aab565b50505050905090810190601f168015610af05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50508183035b9392505050565b6000610b60826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c219092919063ffffffff16565b8051909150156109cb57808060200190516020811015610b7f57600080fd5b50516109cb5760405162461bcd60e51b815260040180806020018281038252602a815260200180610e96602a913960400191505060405180910390fd5b60008183610c0b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ac3578181015183820152602001610aab565b506000838581610c1757fe5b0495945050505050565b6060610c308484600085610c38565b949350505050565b606082471015610c795760405162461bcd60e51b8152600401808060200182810382526026815260200180610e266026913960400191505060405180910390fd5b610c8285610d93565b610cd3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310610d115780518252601f199092019160209182019101610cf2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610d73576040519150601f19603f3d011682016040523d82523d6000602084013e610d78565b606091505b5091509150610d88828286610d99565b979650505050505050565b3b151590565b60608315610da8575081610b04565b825115610db85782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315610ac3578181015183820152602001610aab56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4754533a20596f75206172652068617665206e6f7420756e6c6f636b656420746f6b656e7320796574536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122095be9568954cacc0b9ecb9c4b8ff2e10daa90052e18b145aa458c894d7cb9b5564736f6c63430007060033

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

000000000000000000000000000000000000000000000000000000005fe9c8c00000000000000000000000000000000000000000000000000000000000ed4e0000000000000000000000000047c0ad2ae6c0ed4bcf7bc5b380d7205e89436e84000000000000000000000000584bc13c7d411c00c01a62e8019472de68768430

-----Decoded View---------------
Arg [0] : _start (uint256): 1609156800
Arg [1] : _duration (uint256): 15552000
Arg [2] : _rHEGIC (address): 0x47C0aD2aE6c0Ed4bcf7bc5b380D7205E89436e84
Arg [3] : _HEGIC (address): 0x584bC13c7D411c00c01A62e8019472dE68768430

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000005fe9c8c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000ed4e00
Arg [2] : 00000000000000000000000047c0ad2ae6c0ed4bcf7bc5b380d7205e89436e84
Arg [3] : 000000000000000000000000584bc13c7d411c00c01a62e8019472de68768430


Deployed Bytecode Sourcemap

22769:2451:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23094:33;;;:::i;:::-;;;;;;;;;;;;;;;;24636:132;;;;;;;;;;;;;;;;-1:-1:-1;24636:132:0;-1:-1:-1;;;;;24636:132:0;;:::i;23933:178::-;;;;;;;;;;;;;;;;-1:-1:-1;23933:178:0;;:::i;:::-;;24188:318;;;:::i;21692:148::-;;;:::i;23171:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23171:29:0;;;;;;;;;;;;;;23134:30;;;:::i;21050:79::-;;;:::i;23209:40::-;;;;;;;;;;;;;;;;-1:-1:-1;23209:40:0;-1:-1:-1;;;;;23209:40:0;;:::i;23256:::-;;;;;;;;;;;;;;;;-1:-1:-1;23256:40:0;-1:-1:-1;;;;;23256:40:0;;:::i;22408:133::-;;;;;;;;;;;;;;;;-1:-1:-1;22408:133:0;-1:-1:-1;;;;;22408:133:0;;:::i;23057:30::-;;;:::i;24876:341::-;;;;;;;;;;;;;;;;-1:-1:-1;24876:341:0;-1:-1:-1;;;;;24876:341:0;;:::i;21995:244::-;;;;;;;;;;;;;;;;-1:-1:-1;21995:244:0;-1:-1:-1;;;;;21995:244:0;;:::i;23094:33::-;;;:::o;24636:132::-;-1:-1:-1;;;;;24742:17:0;;24693:7;24742:17;;;:8;:17;;;;;;24720:40;;:17;24751:7;24720:8;:17::i;:::-;:21;;:40::i;:::-;24713:47;;24636:132;;;;:::o;23933:178::-;23981:58;-1:-1:-1;;;;;23981:6:0;:23;24005:10;24025:4;24032:6;23981:23;:58::i;:::-;24080:10;24071:20;;;;:8;:20;;;;;;:32;;24096:6;24071:24;:32::i;:::-;24057:10;24048:20;;;;:8;:20;;;;;:55;-1:-1:-1;23933:178:0:o;24188:318::-;24228:11;24242:21;24252:10;24242:9;:21::i;:::-;24228:35;;24291:1;24282:6;:10;24274:64;;;;-1:-1:-1;;;24274:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24381:10;24372:20;;;;:8;:20;;;;;;:32;;24397:6;24372:24;:32::i;:::-;24358:10;24349:20;;;;:8;:20;;;;;:55;;;;24415:38;;:5;-1:-1:-1;;;;;24415:18:0;;24446:6;24415:18;:38::i;:::-;24469:29;;;24479:10;24469:29;;;;;;;;;;;;;;;;;;;;;24188:318;:::o;21692:148::-;21272:12;:10;:12::i;:::-;21262:6;;-1:-1:-1;;;;;21262:6:0;;;:22;;;21254:67;;;;;-1:-1:-1;;;21254:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21799:1:::1;21783:6:::0;;21762:40:::1;::::0;-1:-1:-1;;;;;21783:6:0;;::::1;::::0;21762:40:::1;::::0;21799:1;;21762:40:::1;21830:1;21813:19:::0;;-1:-1:-1;;;;;;21813:19:0::1;::::0;;21692:148::o;23171:29::-;;;:::o;23134:30::-;;;:::o;21050:79::-;21088:7;21115:6;-1:-1:-1;;;;;21115:6:0;21050:79;:::o;23209:40::-;;;;;;;;;;;;;:::o;23256:::-;;;;;;;;;;;;;:::o;22408:133::-;21272:12;:10;:12::i;:::-;21262:6;;-1:-1:-1;;;;;21262:6:0;;;:22;;;21254:67;;;;;-1:-1:-1;;;21254:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22474:59:::1;22493:7;:5;:7::i;:::-;22502:30;::::0;;-1:-1:-1;;;22502:30:0;;22526:4:::1;22502:30;::::0;::::1;::::0;;;-1:-1:-1;;;;;22502:15:0;::::1;::::0;::::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:15;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;22502:30:0;-1:-1:-1;;;;;22474:18:0;::::1;::::0;:59;:18:::1;:59::i;:::-;22408:133:::0;:::o;23057:30::-;;;:::o;24876:341::-;24932:7;24973:5;24955:15;:23;24952:49;;;-1:-1:-1;25000:1:0;24993:8;;24952:49;25035:19;:5;25045:8;25035:9;:19::i;:::-;25016:15;:38;25012:198;;-1:-1:-1;;;;;;25078:17:0;;;;;;:8;:17;;;;;;25071:24;;25012:198;25135:63;25189:8;25135:49;25157:26;:15;25177:5;25157:19;:26::i;:::-;-1:-1:-1;;;;;25135:17:0;;;;;;:8;:17;;;;;;;:21;:49::i;:::-;:53;;:63::i;:::-;25128:70;;;;21995:244;21272:12;:10;:12::i;:::-;21262:6;;-1:-1:-1;;;;;21262:6:0;;;:22;;;21254:67;;;;;-1:-1:-1;;;21254:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22084:22:0;::::1;22076:73;;;;-1:-1:-1::0;;;22076:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22186:6;::::0;;22165:38:::1;::::0;-1:-1:-1;;;;;22165:38:0;;::::1;::::0;22186:6;::::1;::::0;22165:38:::1;::::0;::::1;22214:6;:17:::0;;-1:-1:-1;;;;;;22214:17:0::1;-1:-1:-1::0;;;;;22214:17:0;;;::::1;::::0;;;::::1;::::0;;21995:244::o;4204:136::-;4262:7;4289:43;4293:1;4296;4289:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4282:50;;4204:136;;;;;:::o;16076:205::-;16204:68;;;-1:-1:-1;;;;;16204:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16204:68:0;-1:-1:-1;;;16204:68:0;;;16177:96;;16197:5;;16177:19;:96::i;:::-;16076:205;;;;:::o;3740:181::-;3798:7;3830:5;;;3854:6;;;;3846:46;;;;;-1:-1:-1;;;3846:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;15891:177;16001:58;;;-1:-1:-1;;;;;16001:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16001:58:0;-1:-1:-1;;;16001:58:0;;;15974:86;;15994:5;;15974:19;:86::i;:::-;15891:177;;;:::o;19596:106::-;19684:10;19596:106;:::o;5094:471::-;5152:7;5397:6;5393:47;;-1:-1:-1;5427:1:0;5420:8;;5393:47;5464:5;;;5468:1;5464;:5;:1;5488:5;;;;;:10;5480:56;;;;-1:-1:-1;;;5480:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6041:132;6099:7;6126:39;6130:1;6133;6126:39;;;;;;;;;;;;;;;;;:3;:39::i;4643:192::-;4729:7;4765:12;4757:6;;;;4749:29;;;;-1:-1:-1;;;4749:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4801:5:0;;;4643:192;;;;;;:::o;18196:761::-;18620:23;18646:69;18674:4;18646:69;;;;;;;;;;;;;;;;;18654:5;-1:-1:-1;;;;;18646:27:0;;;:69;;;;;:::i;:::-;18730:17;;18620:95;;-1:-1:-1;18730:21:0;18726:224;;18872:10;18861:30;;;;;;;;;;;;;;;-1:-1:-1;18861:30:0;18853:85;;;;-1:-1:-1;;;18853:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6669:278;6755:7;6790:12;6783:5;6775:28;;;;-1:-1:-1;;;6775:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6814:9;6830:1;6826;:5;;;;;;;6669:278;-1:-1:-1;;;;;6669:278:0:o;11890:195::-;11993:12;12025:52;12047:6;12055:4;12061:1;12064:12;12025:21;:52::i;:::-;12018:59;11890:195;-1:-1:-1;;;;11890:195:0:o;12942:530::-;13069:12;13127:5;13102:21;:30;;13094:81;;;;-1:-1:-1;;;13094:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13194:18;13205:6;13194:10;:18::i;:::-;13186:60;;;;;-1:-1:-1;;;13186:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13320:12;13334:23;13361:6;-1:-1:-1;;;;;13361:11:0;13381:5;13389:4;13361:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13361:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13319:75;;;;13412:52;13430:7;13439:10;13451:12;13412:17;:52::i;:::-;13405:59;12942:530;-1:-1:-1;;;;;;;12942:530:0:o;8972:422::-;9339:20;9378:8;;;8972:422::o;14478:742::-;14593:12;14622:7;14618:595;;;-1:-1:-1;14653:10:0;14646:17;;14618:595;14767:17;;:21;14763:439;;15030:10;15024:17;15091:15;15078:10;15074:2;15070:19;15063:44;14978:148;15166:20;;-1:-1:-1;;;15166:20:0;;;;;;;;;;;;;;;;;15173:12;;15166:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://95be9568954cacc0b9ecb9c4b8ff2e10daa90052e18b145aa458c894d7cb9b55

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.