Contract 0x06b4dfabaf0fb0cf813526572cc86b2695c9d050

 

Contract Overview

Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0220164ed57a708113a2f0d69c8c441f683e9e57454eb3ce10a87de2b7fd27a0Unstake47250632022-01-17 8:59:441 day 14 hrs ago0x0784932d025a2e6d493b64460e7406168d62d361 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.001947314316 ETH
0xb559a7d0d3d149964d39c152e1f1863216426698d98632021c757f94feddabc5Unstake47079872022-01-16 20:12:532 days 3 hrs ago0x7599a6683375dcd13a6c67911b68b4efb9f2b5d3 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.001975278979 ETH
0x65f4bed72823fc2697d8a4476fdc588734d70f762d71ccde25c6f357036d71c1Unstake46830182022-01-16 1:52:522 days 21 hrs ago0x0ff84f89aa16b264075911edc5e4aead20807da4 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002209363497 ETH
0x66d7679d819586218264264c0c70228b2d03d7631950f670c0933409444ec643Unstake46604042022-01-15 7:01:183 days 16 hrs ago0x00943fa106f2eb9e712da6d83bd381d8787845f4 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002388360411 ETH
0x6551ba2e563fd3db66fd2a9b1f2ff2e65512ec167d483338a39ce1cc21f34e64Unstake46432822022-01-14 16:16:484 days 7 hrs ago0xda47514d8569a3440458edafabc84d58039bb5a7 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002465353685 ETH
0x7e1f1ca79c19c28810a98ffc0c68df801748fe63f95883c132de62c0c68658e1Unstake45737532022-01-11 23:56:306 days 23 hrs ago0x4dea1185da6dc1dafa103601e88ecfc5d6f6cf67 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002467681468 ETH
0x693973b934364e42bc8799b2ece4710d3fcd7d9ae7ea10d091094f6ecda83b5fUnstake44778672022-01-08 10:07:5210 days 13 hrs ago0x8410373df6e9b20765c9599c26d585b2cd0ef628 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.001630432578 ETH
0x3057202660d410a9c2cd764799efc8c41c15dc1e53044de4db4f6a5d4a5459d3Unstake44637102022-01-07 20:37:3711 days 2 hrs ago0x4dd06d3f05d573db027459e8dc942e37249d71a8 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.001816873811 ETH
0xb07cb00e2f8ba2e68e0c40af52a7473f37039dcb5ffb16e2d01b432c7e0e3e9bUnstake44306072022-01-06 23:52:2411 days 23 hrs ago0xc4e6e4ec3a5cedc7baf229be62e40e046d4edd21 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.00175760448 ETH
0xcf809cc1908ae247a8999e06c390a977f8dd70500ec926e57b51c0a238e5300dUnstake44255592022-01-06 20:18:4312 days 3 hrs ago0x98b5f40d9b753557cbc90c78522c34e2182c0d2c IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.001764259077 ETH
0x1c66ec2b675ce386c8b4fc8f38029e9af60c5e949bddd8d3d7de2366c6841746Unstake44093692022-01-06 9:37:3712 days 13 hrs ago0x9202e524fb595f3b8fbd78dac6e46fecf8534c7c IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002661161325 ETH
0x19ae688f19ec124c1571c883a026a54d604017d4aa1087f9336b6d40d767cef8Unstake44058662022-01-06 7:26:1112 days 15 hrs ago0x39f6b2d21a5f93291fba2eb2cc1e435d21bcbc89 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002689049015 ETH
0x642e72952dc34426dec365a7048ca93c6ed41b166542ae469bf4b857535d6dfcUnstake44029642022-01-06 5:07:4212 days 18 hrs ago0xccf3a2fb95f9ba35043b3a60390e401ebc5bcb2e IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.00269904432 ETH
0x31005eb8126cdbb2d64b63b4b18f6cf7dacffb103cb3c623a0eccdc5135e957cUnstake43709102022-01-05 11:43:4913 days 11 hrs ago0x458129c4c58ec38d45b4274b2de2991b197f9d13 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002350384014 ETH
0xfd113d86fe61d352efed6fdb455809e526779e5054b4c4809bcc07911ea745cfUnstake43656742022-01-05 7:31:2713 days 15 hrs ago0x00cd4bb304f344947a5302775419227e77416e74 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002409285823 ETH
0xdd6cfec8a8b8e57c213e5bc87e981797af8ba23fa1120ed9d5b8f952deb87fdbUnstake43612892022-01-05 4:10:2713 days 19 hrs ago0xce4dbfa1bd967f86e82275091f8fc45b86664c6f IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002442882124 ETH
0xeb8b6e758b88ff99988c8b86b627c98d9a9ad1f62f344e418db98bb25991ae54Unstake43598502022-01-05 3:18:0613 days 20 hrs ago0x1803db20fbb2a0d13adb04936eb51e4d66613bdc IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002448470357 ETH
0xb286f5de2cc7d2a94d93fb36674570cefd8754dd824999e09e752c0d8220c48cUnstake43564042022-01-05 1:16:4413 days 22 hrs ago0x6b2dce929f92566ef5e8735d673937bd66911235 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002402108202 ETH
0x329ab30da8dd2a5a546ff48ef51041d214e79e96ef798224d88f9c8e2aacdd25Unstake43279242022-01-04 9:04:4614 days 14 hrs ago0x3ec471e7637d93bc50a57cc63ed4e80d5b44a69b IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.00222113973 ETH
0xaff278b6e9dcc2fa5795c1d33799cb7b0525aa1470fb12a5cd922bfc6bd43140Unstake42908502022-01-03 9:08:3115 days 14 hrs ago0x08f53bb6b886f50682fe73aae55ce507c700a375 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.000617112089 ETH
0x3dbca40a0cd3e3bfcfa55ad0dde1902bea34ebf5cd0a94e4e6ee196cab5e45b2Unstake42908482022-01-03 9:08:3115 days 14 hrs ago0x08f53bb6b886f50682fe73aae55ce507c700a375 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002030996485 ETH
0xf563c9ffd2809b139b92950c08c3fb16b2546d382b1f5a01fbcb7f5030087113Unstake42822252022-01-03 1:29:5615 days 21 hrs ago0x21fd5b5f0c92f8add3cc5483f325dd659943477e IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.001859386428 ETH
0xe2e2e66462d3e283aede755d599e9ffbf83ae37db28f033a99db43f0910d1408Unstake42585632022-01-02 6:15:1316 days 17 hrs ago0xb0cc8638ade87bc25e160cf1fa622f3e17fd5ded IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.001900294497 ETH
0x3858eb1e2932775e9eeb81d47789377a410a47f5f1a7572224bf77f60f485e90Unstake42222582022-01-01 1:11:4717 days 22 hrs ago0xb5383501116a91c43664e18fe935b7c8957cd125 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002069356842 ETH
0xcc554c5deeb3baaf0bc2dbf2aaf825770abd7732df390e4eb19bbaa4004e8281Unstake42061742021-12-31 10:21:1718 days 13 hrs ago0xe7bfc0a6da7ef96e6bde0edd2fc3cbc64747fd44 IN  0x06b4dfabaf0fb0cf813526572cc86b2695c9d0500 ETH0.002260842397 ETH
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Z2OStaking

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at arbiscan.io on 2021-10-27
*/

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

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;
    }
    function add32(uint32 a, uint32 b) internal pure returns (uint32) {
        uint32 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;
    }
}

interface IERC20 {
    function decimals() external view returns (uint8);
  /**
   * @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);
}

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

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

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard}
     */
    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).
     *
     *
     * 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);
    }

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

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

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

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

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

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

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

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

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

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

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

        return string(_addr);

    }
}

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

interface IOwnable {
  function manager() external view returns (address);

  function renounceManagement() external;
  
  function pushManagement( address newOwner_ ) external;
  
  function pullManagement() external;
}

contract Ownable is IOwnable {

    address internal _owner;
    address internal _newOwner;

    event OwnershipPushed(address indexed previousOwner, address indexed newOwner);
    event OwnershipPulled(address indexed previousOwner, address indexed newOwner);

    constructor () {
        _owner = msg.sender;
        emit OwnershipPushed( address(0), _owner );
    }

    function manager() public view override returns (address) {
        return _owner;
    }

    modifier onlyManager() {
        require( _owner == msg.sender, "Ownable: caller is not the owner" );
        _;
    }

    function renounceManagement() public virtual override onlyManager() {
        emit OwnershipPushed( _owner, address(0) );
        _owner = address(0);
    }

    function pushManagement( address newOwner_ ) public virtual override onlyManager() {
        require( newOwner_ != address(0), "Ownable: new owner is the zero address");
        emit OwnershipPushed( _owner, newOwner_ );
        _newOwner = newOwner_;
    }
    
    function pullManagement() public virtual override {
        require( msg.sender == _newOwner, "Ownable: must be new owner to pull");
        emit OwnershipPulled( _owner, _newOwner );
        _owner = _newOwner;
    }
}

interface IMemo {
    function rebase( uint256 ohmProfit_, uint epoch_) external returns (uint256);

    function circulatingSupply() external view returns (uint256);

    function balanceOf(address who) external view returns (uint256);

    function gonsForBalance( uint amount ) external view returns ( uint );

    function balanceForGons( uint gons ) external view returns ( uint );
    
    function index() external view returns ( uint );
}

interface IWarmup {
    function retrieve( address staker_, uint amount_ ) external;
}

interface IDistributor {
    function distribute() external returns ( bool );
}

contract Z2OStaking is Ownable {

    using SafeMath for uint256;
    using SafeMath for uint32;
    using SafeERC20 for IERC20;

    address public immutable Z2O;
    address public immutable sZ2O;

    struct Epoch {
        uint number;
        uint distribute;
        uint32 length;
        uint32 endTime;
    }
    Epoch public epoch;

    address public distributor;
    
    address public locker;
    uint public totalBonus;
    
    address public warmupContract;
    uint public warmupPeriod;
    
    constructor ( 
        address _Z2O, 
        address _sZ2O, 
        uint32 _epochLength,
        uint _firstEpochNumber,
        uint32 _firstEpochTime
    ) {
        require( _Z2O != address(0) );
        Z2O = _Z2O;
        require( _sZ2O != address(0) );
        sZ2O = _sZ2O;
        
        epoch = Epoch({
            length: _epochLength,
            number: _firstEpochNumber,
            endTime: _firstEpochTime,
            distribute: 0
        });
    }

    struct Claim {
        uint deposit;
        uint gons;
        uint expiry;
        bool lock; // prevents malicious delays
    }
    mapping( address => Claim ) public warmupInfo;

    /**
        @notice stake OHM to enter warmup
        @param _amount uint
        @return bool
     */
    function stake( uint _amount, address _recipient ) external returns ( bool ) {
        rebase();
        
        IERC20( Z2O ).safeTransferFrom( msg.sender, address(this), _amount );

        Claim memory info = warmupInfo[ _recipient ];
        require( !info.lock, "Deposits for account are locked" );

        warmupInfo[ _recipient ] = Claim ({
            deposit: info.deposit.add( _amount ),
            gons: info.gons.add( IMemo( sZ2O ).gonsForBalance( _amount ) ),
            expiry: epoch.number.add( warmupPeriod ),
            lock: false
        });
        
        IERC20( sZ2O ).safeTransfer( warmupContract, _amount );
        return true;
    }

    /**
        @notice retrieve sOHM from warmup
        @param _recipient address
     */
    function claim ( address _recipient ) public {
        Claim memory info = warmupInfo[ _recipient ];
        if ( epoch.number >= info.expiry && info.expiry != 0 ) {
            delete warmupInfo[ _recipient ];
            IWarmup( warmupContract ).retrieve( _recipient, IMemo( sZ2O ).balanceForGons( info.gons ) );
        }
    }

    /**
        @notice forfeit sOHM in warmup and retrieve OHM
     */
    function forfeit() external {
        Claim memory info = warmupInfo[ msg.sender ];
        delete warmupInfo[ msg.sender ];

        IWarmup( warmupContract ).retrieve( address(this), IMemo( sZ2O ).balanceForGons( info.gons ) );
        IERC20( Z2O ).safeTransfer( msg.sender, info.deposit );
    }

    /**
        @notice prevent new deposits to address (protection from malicious activity)
     */
    function toggleDepositLock() external {
        warmupInfo[ msg.sender ].lock = !warmupInfo[ msg.sender ].lock;
    }

    /**
        @notice redeem sOHM for OHM
        @param _amount uint
        @param _trigger bool
     */
    function unstake( uint _amount, bool _trigger ) external {
        if ( _trigger ) {
            rebase();
        }
        IERC20( sZ2O ).safeTransferFrom( msg.sender, address(this), _amount );
        IERC20( Z2O ).safeTransfer( msg.sender, _amount );
    }

    /**
        @notice returns the sOHM index, which tracks rebase growth
        @return uint
     */
    function index() public view returns ( uint ) {
        return IMemo( sZ2O ).index();
    }

    /**
        @notice trigger rebase if epoch over
     */
    function rebase() public {
        if( epoch.endTime <= uint32(block.timestamp) ) {

            IMemo( sZ2O ).rebase( epoch.distribute, epoch.number );

            epoch.endTime = epoch.endTime.add32( epoch.length );
            epoch.number++;
            
            if ( distributor != address(0) ) {
                IDistributor( distributor ).distribute();
            }

            uint balance = contractBalance();
            uint staked = IMemo( sZ2O ).circulatingSupply();

            if( balance <= staked ) {
                epoch.distribute = 0;
            } else {
                epoch.distribute = balance.sub( staked );
            }
        }
    }

    /**
        @notice returns contract OHM holdings, including bonuses provided
        @return uint
     */
    function contractBalance() public view returns ( uint ) {
        return IERC20( Z2O ).balanceOf( address(this) ).add( totalBonus );
    }

    /**
        @notice provide bonus to locked staking contract
        @param _amount uint
     */
    function giveLockBonus( uint _amount ) external {
        require( msg.sender == locker );
        totalBonus = totalBonus.add( _amount );
        IERC20( sZ2O ).safeTransfer( locker, _amount );
    }

    /**
        @notice reclaim bonus from locked staking contract
        @param _amount uint
     */
    function returnLockBonus( uint _amount ) external {
        require( msg.sender == locker );
        totalBonus = totalBonus.sub( _amount );
        IERC20( sZ2O ).safeTransferFrom( locker, address(this), _amount );
    }

    enum CONTRACTS { DISTRIBUTOR, WARMUP, LOCKER }

    /**
        @notice sets the contract address for LP staking
        @param _contract address
     */
    function setContract( CONTRACTS _contract, address _address ) external onlyManager() {
        if( _contract == CONTRACTS.DISTRIBUTOR ) { // 0
            distributor = _address;
        } else if ( _contract == CONTRACTS.WARMUP ) { // 1
            require( warmupContract == address( 0 ), "Warmup cannot be set more than once" );
            warmupContract = _address;
        } else if ( _contract == CONTRACTS.LOCKER ) { // 2
            require( locker == address(0), "Locker cannot be set more than once" );
            locker = _address;
        }
    }
    
    /**
     * @notice set warmup period in epoch's numbers for new stakers
     * @param _warmupPeriod uint
     */
    function setWarmup( uint _warmupPeriod ) external onlyManager() {
        warmupPeriod = _warmupPeriod;
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_Z2O","type":"address"},{"internalType":"address","name":"_sZ2O","type":"address"},{"internalType":"uint32","name":"_epochLength","type":"uint32"},{"internalType":"uint256","name":"_firstEpochNumber","type":"uint256"},{"internalType":"uint32","name":"_firstEpochTime","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPulled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPushed","type":"event"},{"inputs":[],"name":"Z2O","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"uint256","name":"distribute","type":"uint256"},{"internalType":"uint32","name":"length","type":"uint32"},{"internalType":"uint32","name":"endTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forfeit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giveLockBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"index","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pullManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"pushManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rebase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"returnLockBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sZ2O","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Z2OStaking.CONTRACTS","name":"_contract","type":"uint8"},{"internalType":"address","name":"_address","type":"address"}],"name":"setContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_warmupPeriod","type":"uint256"}],"name":"setWarmup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"stake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleDepositLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_trigger","type":"bool"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"warmupContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"warmupInfo","outputs":[{"internalType":"uint256","name":"deposit","type":"uint256"},{"internalType":"uint256","name":"gons","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"bool","name":"lock","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"warmupPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60c060405234801561001057600080fd5b50604051611aac380380611aac833981810160405260a081101561003357600080fd5b50805160208201516040808401516060850151608090950151600080546001600160a01b031916331780825593519596949592949391926001600160a01b0392909216917fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908290a36001600160a01b0385166100af57600080fd5b6001600160601b0319606086901b166080526001600160a01b0384166100d457600080fd5b6001600160601b0319606094851b1660a0526040805160808101825283815260006020820181905263ffffffff95861692820183905292909416939094018390526002919091556003556004805464010000000090920263ffffffff60201b1963ffffffff19909316909317919091169190911790555060805160601c60a05160601c6118f26101ba60003980610401528061059c528061067d52806109e25280610aee5280610da35280610e205280610fae52806110ce52806111bd52806113055250806108ec5280610ca55280610dd8528061110152806112a452506118f26000f3fe608060405234801561001057600080fd5b50600436106101635760003560e01c8063900cf0cf116100ce578063d7b96d4e11610087578063d7b96d4e1461037c578063deac361a14610384578063e54194b81461038c578063ed4acaa814610394578063f1696d2e1461039c578063f3d86e4a146103a4578063f62ae76a146103ac57610163565b8063900cf0cf146102ee5780639ebea88c14610322578063a8dd07dc14610347578063af14052c1461034f578063bfe1092814610357578063c9f464ff1461035f57610163565b80635a96ac0a116101205780635a96ac0a146102195780636746f4c2146102215780637acb77571461026f578063865e6fd3146102af5780638b7afe2e146102de5780638f077b83146102e657610163565b806303c2367014610168578063089208d8146101875780631e83409a1461018f5780632986c0e5146101b557806346f68ee9146101cf578063481c6a75146101f5575b600080fd5b6101856004803603602081101561017e57600080fd5b50356103c9565b005b61018561042d565b610185600480360360208110156101a557600080fd5b50356001600160a01b03166104c4565b6101bd610679565b60408051918252519081900360200190f35b610185600480360360208110156101e557600080fd5b50356001600160a01b0316610705565b6101fd6107f2565b604080516001600160a01b039092168252519081900360200190f35b610185610801565b6102476004803603602081101561023757600080fd5b50356001600160a01b03166108ab565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b61029b6004803603604081101561028557600080fd5b50803590602001356001600160a01b03166108d5565b604080519115158252519081900360200190f35b610185600480360360408110156102c557600080fd5b50803560ff1690602001356001600160a01b0316610b21565b6101bd610c9b565b610185610d47565b6102f6610d6b565b60408051948552602085019390935263ffffffff91821684840152166060830152519081900360800190f35b6101856004803603604081101561033857600080fd5b50803590602001351515610d88565b6101bd610dff565b610185610e05565b6101fd611056565b6101856004803603602081101561037557600080fd5b5035611065565b6101fd6110b7565b6101bd6110c6565b6101fd6110cc565b6101fd6110f0565b6101fd6110ff565b610185611123565b610185600480360360208110156103c257600080fd5b50356112cd565b6006546001600160a01b031633146103e057600080fd5b6007546103ed908261132f565b60075560065461042a906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691168361138e565b50565b6000546001600160a01b0316331461047a576040805162461bcd60e51b81526020600482018190526024820152600080516020611873833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908390a3600080546001600160a01b0319169055565b6104cc6117ba565b506001600160a01b0381166000908152600a602090815260409182902082516080810184528154815260018201549281019290925260028082015493830184905260039091015460ff1615156060830152549091118015906105315750604081015115155b15610675576001600160a01b038083166000908152600a602090815260408083208381556001810184905560028101939093556003909201805460ff19169055600854848201518351637965d56d60e01b8152600481019190915292519084169363c3a2a6659387937f000000000000000000000000000000000000000000000000000000000000000090921692637965d56d92602480840193919291829003018186803b1580156105e257600080fd5b505afa1580156105f6573d6000803e3d6000fd5b505050506040513d602081101561060c57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039093166004840152602483019190915251604480830192600092919082900301818387803b15801561065c57600080fd5b505af1158015610670573d6000803e3d6000fd5b505050505b5050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b1580156106d457600080fd5b505afa1580156106e8573d6000803e3d6000fd5b505050506040513d60208110156106fe57600080fd5b5051905090565b6000546001600160a01b03163314610752576040805162461bcd60e51b81526020600482018190526024820152600080516020611873833981519152604482015290519081900360640190fd5b6001600160a01b0381166107975760405162461bcd60e51b81526004018080602001828103825260268152602001806118086026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba91a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b6001546001600160a01b0316331461084a5760405162461bcd60e51b81526004018080602001828103825260228152602001806118516022913960400191505060405180910390fd5b600154600080546040516001600160a01b0393841693909116917faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d91a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b600a6020526000908152604090208054600182015460028301546003909301549192909160ff1684565b60006108df610e05565b6109146001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330866113e5565b61091c6117ba565b506001600160a01b0382166000908152600a602090815260409182902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff1615801560608301526109bf576040805162461bcd60e51b815260206004820152601f60248201527f4465706f7369747320666f72206163636f756e7420617265206c6f636b656400604482015290519081900360640190fd5b6040805160808101909152815181906109d8908761132f565b8152602001610a7b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631bd39674886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610a4457600080fd5b505afa158015610a58573d6000803e3d6000fd5b505050506040513d6020811015610a6e57600080fd5b505160208501519061132f565b8152600954600254602090920191610a929161132f565b8152600060209182018190526001600160a01b038681168252600a8352604091829020845181559284015160018401559083015160028301556060909201516003909101805460ff1916911515919091179055600854610b17917f0000000000000000000000000000000000000000000000000000000000000000811691168661138e565b5060019392505050565b6000546001600160a01b03163314610b6e576040805162461bcd60e51b81526020600482018190526024820152600080516020611873833981519152604482015290519081900360640190fd5b6000826002811115610b7c57fe5b1415610ba257600580546001600160a01b0319166001600160a01b038316179055610675565b6001826002811115610bb057fe5b1415610c1e576008546001600160a01b031615610bfe5760405162461bcd60e51b815260040180806020018281038252602381526020018061182e6023913960400191505060405180910390fd5b600880546001600160a01b0319166001600160a01b038316179055610675565b6002826002811115610c2c57fe5b1415610675576006546001600160a01b031615610c7a5760405162461bcd60e51b81526004018080602001828103825260238152602001806117e56023913960400191505060405180910390fd5b600680546001600160a01b0383166001600160a01b03199091161790555050565b6000610d426007547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610d1057600080fd5b505afa158015610d24573d6000803e3d6000fd5b505050506040513d6020811015610d3a57600080fd5b50519061132f565b905090565b336000908152600a60205260409020600301805460ff19811660ff90911615179055565b60025460035460045463ffffffff80821691600160201b90041684565b8015610d9657610d96610e05565b610dcb6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330856113e5565b6106756001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338461138e565b60075481565b60045463ffffffff428116600160201b9092041611611054577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663058ecdb46002600101546002600001546040518363ffffffff1660e01b81526004018083815260200182815260200192505050602060405180830381600087803b158015610e9657600080fd5b505af1158015610eaa573d6000803e3d6000fd5b505050506040513d6020811015610ec057600080fd5b5050600454610ee19063ffffffff600160201b820481169181169061144516565b6004805463ffffffff92909216600160201b0267ffffffff00000000199092169190911790556002805460010190556005546001600160a01b031615610f9e57600560009054906101000a90046001600160a01b03166001600160a01b031663e4fc6b6d6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610f7157600080fd5b505af1158015610f85573d6000803e3d6000fd5b505050506040513d6020811015610f9b57600080fd5b50505b6000610fa8610c9b565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639358928b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561100557600080fd5b505afa158015611019573d6000803e3d6000fd5b505050506040513d602081101561102f57600080fd5b50519050808211611044576000600355610675565b61104e82826114a6565b60035550505b565b6005546001600160a01b031681565b6000546001600160a01b031633146110b2576040805162461bcd60e51b81526020600482018190526024820152600080516020611873833981519152604482015290519081900360640190fd5b600955565b6006546001600160a01b031681565b60095481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6008546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b61112b6117ba565b50336000818152600a602081815260408084208151608081018352815481526001820180548286019081526002840180548487015260038501805460ff8116151560608701529a8a5297875293889055908790559590915560ff1990951690925560085492518251637965d56d60e01b8152600481019190915291516001600160a01b039384169363c3a2a6659330937f000000000000000000000000000000000000000000000000000000000000000090921692637965d56d92602480840193919291829003018186803b15801561120357600080fd5b505afa158015611217573d6000803e3d6000fd5b505050506040513d602081101561122d57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039093166004840152602483019190915251604480830192600092919082900301818387803b15801561127d57600080fd5b505af1158015611291573d6000803e3d6000fd5b5050825161042a92506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169150339061138e565b6006546001600160a01b031633146112e457600080fd5b6007546112f190826114a6565b60075560065461042a906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911630846113e5565b600082820183811015611387576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113e09084906114e8565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261143f9085906114e8565b50505050565b600082820163ffffffff8085169082161015611387576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b600061138783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611599565b606061153d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116309092919063ffffffff16565b8051909150156113e05780806020019051602081101561155c57600080fd5b50516113e05760405162461bcd60e51b815260040180806020018281038252602a815260200180611893602a913960400191505060405180910390fd5b600081848411156116285760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115ed5781810151838201526020016115d5565b50505050905090810190601f16801561161a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b606061163f8484600085611647565b949350505050565b6060611652856117b4565b6116a3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116e25780518252601f1990920191602091820191016116c3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611744576040519150601f19603f3d011682016040523d82523d6000602084013e611749565b606091505b5091509150811561175d57915061163f9050565b80511561176d5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156115ed5781810151838201526020016115d5565b3b151590565b6040518060800160405280600081526020016000815260200160008152602001600015158152509056fe4c6f636b65722063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735761726d75702063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201c08f0dd6f4561440abe23b414e5e01f8298a0f7b1218cf62d0289711636ef8464736f6c63430007050033000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac000000000000000000000000c45c51d423f5e2ad2e946e45d9ec7dcf04f9bd39000000000000000000000000000000000000000000000000000000000000708000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000061774500

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

000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac000000000000000000000000c45c51d423f5e2ad2e946e45d9ec7dcf04f9bd39000000000000000000000000000000000000000000000000000000000000708000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000061774500

-----Decoded View---------------
Arg [0] : _Z2O (address): 0xdb96f8efd6865644993505318cc08ff9c42fb9ac
Arg [1] : _sZ2O (address): 0xc45c51d423f5e2ad2e946e45d9ec7dcf04f9bd39
Arg [2] : _epochLength (uint32): 28800
Arg [3] : _firstEpochNumber (uint256): 1
Arg [4] : _firstEpochTime (uint32): 1635206400

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac
Arg [1] : 000000000000000000000000c45c51d423f5e2ad2e946e45d9ec7dcf04f9bd39
Arg [2] : 0000000000000000000000000000000000000000000000000000000000007080
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000000000000000000000000000000000000061774500


Deployed ByteCode Sourcemap

20867:6355:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25689:204;;;;;;;;;;;;;;;;-1:-1:-1;25689:204:0;;:::i;:::-;;19560:159;;;:::i;22995:337::-;;;;;;;;;;;;;;;;-1:-1:-1;22995:337:0;-1:-1:-1;;;;;22995:337:0;;:::i;24455:93::-;;;:::i;:::-;;;;;;;;;;;;;;;;19727:261;;;;;;;;;;;;;;;;-1:-1:-1;19727:261:0;-1:-1:-1;;;;;19727:261:0;;:::i;19333:90::-;;;:::i;:::-;;;;-1:-1:-1;;;;;19333:90:0;;;;;;;;;;;;;;20000:221;;;:::i;22043:45::-;;;;;;;;;;;;;;;;-1:-1:-1;22043:45:0;-1:-1:-1;;;;;22043:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22209:682;;;;;;;;;;;;;;;;-1:-1:-1;22209:682:0;;;;;;-1:-1:-1;;;;;22209:682:0;;:::i;:::-;;;;;;;;;;;;;;;;;;26405:570;;;;;;;;;;;;;;;;-1:-1:-1;26405:570:0;;;;;;;;-1:-1:-1;;;;;26405:570:0;;:::i;25436:140::-;;;:::i;23832:119::-;;;:::i;21204:18::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24073:266;;;;;;;;;;;;;;;;-1:-1:-1;24073:266:0;;;;;;;;;:::i;21298:22::-;;;:::i;24620:693::-;;;:::i;21231:26::-;;;:::i;27108:111::-;;;;;;;;;;;;;;;;-1:-1:-1;27108:111:0;;:::i;21270:21::-;;;:::i;21369:24::-;;;:::i;21042:29::-;;;:::i;21333:::-;;;:::i;21007:28::-;;;:::i;23415:305::-;;;:::i;26008:225::-;;;;;;;;;;;;;;;;-1:-1:-1;26008:225:0;;:::i;25689:204::-;25771:6;;-1:-1:-1;;;;;25771:6:0;25757:10;:20;25748:31;;;;;;25803:10;;:25;;25819:7;25803:14;:25::i;:::-;25790:10;:38;25868:6;;25839:46;;-1:-1:-1;;;;;25847:4:0;25839:27;;;25868:6;25876:7;25839:27;:46::i;:::-;25689:204;:::o;19560:159::-;19474:6;;-1:-1:-1;;;;;19474:6:0;19484:10;19474:20;19465:67;;;;;-1:-1:-1;;;19465:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19465:67:0;;;;;;;;;;;;;;;19677:1:::1;19661:6:::0;;19644:37:::1;::::0;-1:-1:-1;;;;;19661:6:0;;::::1;::::0;19644:37:::1;::::0;19677:1;;19644:37:::1;19709:1;19692:19:::0;;-1:-1:-1;;;;;;19692:19:0::1;::::0;;19560:159::o;22995:337::-;23051:17;;:::i;:::-;-1:-1:-1;;;;;;23071:24:0;;;;;;:10;:24;;;;;;;;;23051:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23111:12;23051:44;;-1:-1:-1;23111:27:0;;;:47;;-1:-1:-1;23142:11:0;;;;:16;;23111:47;23106:219;;;-1:-1:-1;;;;;23183:24:0;;;;;;;:10;:24;;;;;;;;23176:31;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23176:31:0;;;23231:14;;23300:9;;;;23270:41;;-1:-1:-1;;;23270:41:0;;;;;;;;;;;23231:14;;;;23222:34;;23195:10;;23277:4;23270:28;;;;;;:41;;;;;23183:24;;23270:41;;;;;;:28;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23270:41:0;23222:91;;;-1:-1:-1;;;;;;23222:91:0;;;;;;;-1:-1:-1;;;;;23222:91:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23222:91:0;;;;;;;-1:-1:-1;23222:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23106:219;22995:337;;:::o;24455:93::-;24494:4;24526;-1:-1:-1;;;;;24519:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24519:21:0;;-1:-1:-1;24455:93:0;:::o;19727:261::-;19474:6;;-1:-1:-1;;;;;19474:6:0;19484:10;19474:20;19465:67;;;;;-1:-1:-1;;;19465:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19465:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;19830:23:0;::::1;19821:75;;;;-1:-1:-1::0;;;19821:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19929:6;::::0;;19912:36:::1;::::0;-1:-1:-1;;;;;19912:36:0;;::::1;::::0;19929:6;::::1;::::0;19912:36:::1;::::0;::::1;19959:9;:21:::0;;-1:-1:-1;;;;;;19959:21:0::1;-1:-1:-1::0;;;;;19959:21:0;;;::::1;::::0;;;::::1;::::0;;19727:261::o;19333:90::-;19382:7;19409:6;-1:-1:-1;;;;;19409:6:0;19333:90;:::o;20000:221::-;20084:9;;-1:-1:-1;;;;;20084:9:0;20070:10;:23;20061:71;;;;-1:-1:-1;;;20061:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20173:9;;;20165:6;;20148:36;;-1:-1:-1;;;;;20173:9:0;;;;20165:6;;;;20148:36;;;20204:9;;;20195:18;;-1:-1:-1;;;;;;20195:18:0;-1:-1:-1;;;;;20204:9:0;;;20195:18;;;;;;20000:221::o;22043:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22209:682::-;22279:4;22297:8;:6;:8::i;:::-;22326:68;-1:-1:-1;;;;;22334:3:0;22326:30;22358:10;22378:4;22385:7;22326:30;:68::i;:::-;22407:17;;:::i;:::-;-1:-1:-1;;;;;;22427:24:0;;;;;;:10;:24;;;;;;;;;22407:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22462:56;;;;;-1:-1:-1;;;22462:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22558:228;;;;;;;;;22589:12;;22558:228;;22589:27;;22607:7;22589:16;:27::i;:::-;22558:228;;;;22637:56;22659:4;-1:-1:-1;;;;;22652:28:0;;22682:7;22652:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22652:39:0;;22637:9;;;;:13;:56::i;:::-;22558:228;;22734:12;;22716:5;:12;22558:228;;;;;22716:32;;:16;:32::i;:::-;22558:228;;22769:5;22558:228;;;;;;;-1:-1:-1;;;;;22531:24:0;;;;;:10;:24;;;;;;;:255;;;;;;;;22558:228;22531:255;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22531:255:0;;;;;;;;;;22836:14;;22807:54;;22815:4;22807:27;;;22836:14;22852:7;22807:27;:54::i;:::-;-1:-1:-1;22879:4:0;;22209:682;-1:-1:-1;;;22209:682:0:o;26405:570::-;19474:6;;-1:-1:-1;;;;;19474:6:0;19484:10;19474:20;19465:67;;;;;-1:-1:-1;;;19465:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19465:67:0;;;;;;;;;;;;;;;26518:21:::1;26505:9;:34;;;;;;;;;26501:467;;;26562:11;:22:::0;;-1:-1:-1;;;;;;26562:22:0::1;-1:-1:-1::0;;;;;26562:22:0;::::1;;::::0;;26501:467:::1;;;26620:16;26607:9;:29;;;;;;;;;26602:366;;;26668:14;::::0;-1:-1:-1;;;;;26668:14:0::1;:30:::0;26659:80:::1;;;;-1:-1:-1::0;;;26659:80:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26754:14;:25:::0;;-1:-1:-1;;;;;;26754:25:0::1;-1:-1:-1::0;;;;;26754:25:0;::::1;;::::0;;26602:366:::1;;;26815:16;26802:9;:29;;;;;;;;;26797:171;;;26863:6;::::0;-1:-1:-1;;;;;26863:6:0::1;:20:::0;26854:70:::1;;;;-1:-1:-1::0;;;26854:70:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26939:6;:17:::0;;-1:-1:-1;;;;;26939:17:0;::::1;-1:-1:-1::0;;;;;;26939:17:0;;::::1;;::::0;;26405:570;;:::o;25436:140::-;25485:4;25510:58;25556:10;;25518:3;-1:-1:-1;;;;;25510:23:0;;25543:4;25510:40;;;;;;;;;;;;;-1:-1:-1;;;;;25510:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25510:40:0;;:44;:58::i;:::-;25503:65;;25436:140;:::o;23832:119::-;23926:10;23914:24;;;;:10;:24;;;;;:29;;;;-1:-1:-1;;23881:62:0;;23914:29;;;;23913:30;23881:62;;;23832:119::o;21204:18::-;;;;;;;;;;;;-1:-1:-1;;;21204:18:0;;;;:::o;24073:266::-;24146:8;24141:51;;;24172:8;:6;:8::i;:::-;24202:69;-1:-1:-1;;;;;24210:4:0;24202:31;24235:10;24255:4;24262:7;24202:31;:69::i;:::-;24282:49;-1:-1:-1;;;;;24290:3:0;24282:26;24310:10;24322:7;24282:26;:49::i;21298:22::-;;;;:::o;24620:693::-;24660:13;;:40;24684:15;24660:40;;-1:-1:-1;;;24660:13:0;;;;:40;24656:650;;24727:4;-1:-1:-1;;;;;24720:20:0;;24742:5;:16;;;24760:5;:12;;;24720:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;24828:12:0;;24807:35;;24828:12;-1:-1:-1;;;24807:13:0;;;;;24828:12;;;24807:19;:35;:::i;:::-;24791:13;:51;;;;;;;-1:-1:-1;;;24791:51:0;-1:-1:-1;;24791:51:0;;;;;;;;;:5;24857:14;;-1:-1:-1;24857:14:0;;;24905:11;;-1:-1:-1;;;;;24905:11:0;:25;24900:108;;24966:11;;;;;;;;;-1:-1:-1;;;;;24966:11:0;-1:-1:-1;;;;;24952:38:0;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;24900:108:0;25024:12;25039:17;:15;:17::i;:::-;25024:32;;25071:11;25092:4;-1:-1:-1;;;;;25085:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25085:33:0;;-1:-1:-1;25139:17:0;;;25135:160;;25197:1;25178:16;:20;25135:160;;;25258:21;:7;25271:6;25258:11;:21::i;:::-;25239:16;:40;24656:650;;;24620:693::o;21231:26::-;;;-1:-1:-1;;;;;21231:26:0;;:::o;27108:111::-;19474:6;;-1:-1:-1;;;;;19474:6:0;19484:10;19474:20;19465:67;;;;;-1:-1:-1;;;19465:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19465:67:0;;;;;;;;;;;;;;;27183:12:::1;:28:::0;27108:111::o;21270:21::-;;;-1:-1:-1;;;;;21270:21:0;;:::o;21369:24::-;;;;:::o;21042:29::-;;;:::o;21333:::-;;;-1:-1:-1;;;;;21333:29:0;;:::o;21007:28::-;;;:::o;23415:305::-;23454:17;;:::i;:::-;-1:-1:-1;23486:10:0;23474:24;;;;:10;:24;;;;;;;;23454:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23516:24;;;;;;23509:31;;;;;;;;;;;;-1:-1:-1;;23509:31:0;;;;;;23562:14;;23634:9;;23604:41;;-1:-1:-1;;;23604:41:0;;;;;;;;;;;-1:-1:-1;;;;;23562:14:0;;;;23553:34;;23597:4;;23611;23604:28;;;;;;:41;;;;;23474:24;;23604:41;;;;;;:28;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23604:41:0;23553:94;;;-1:-1:-1;;;;;;23553:94:0;;;;;;;-1:-1:-1;;;;;23553:94:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23553:94:0;;;;;;;-1:-1:-1;23553:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23698:12:0;;23658:54;;-1:-1:-1;;;;;;23666:3:0;23658:26;;-1:-1:-1;23686:10:0;;23658:26;:54::i;26008:225::-;26092:6;;-1:-1:-1;;;;;26092:6:0;26078:10;:20;26069:31;;;;;;26124:10;;:25;;26140:7;26124:14;:25::i;:::-;26111:10;:38;26193:6;;26160:65;;-1:-1:-1;;;;;26168:4:0;26160:31;;;26193:6;26209:4;26216:7;26160:31;:65::i;336:181::-;394:7;426:5;;;450:6;;;;442:46;;;;;-1:-1:-1;;;442:46:0;;;;;;;;;;;;-1:-1:-1;;;442:46:0;;;;;;;;;;;;;;;508:1;336:181;-1:-1:-1;;;336:181:0:o;15589:177::-;15699:58;;;-1:-1:-1;;;;;15699:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15699:58:0;-1:-1:-1;;;15699:58:0;;;15672:86;;15692:5;;15672:19;:86::i;:::-;15589:177;;;:::o;15774:205::-;15902:68;;;-1:-1:-1;;;;;15902:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15902:68:0;-1:-1:-1;;;15902:68:0;;;15875:96;;15895:5;;15875:19;:96::i;:::-;15774:205;;;;:::o;523:179::-;581:6;611:5;;;635:6;;;;;;;;;627:46;;;;;-1:-1:-1;;;627:46:0;;;;;;;;;;;;-1:-1:-1;;;627:46:0;;;;;;;;;;;;;;985:136;1043:7;1070:43;1074:1;1077;1070:43;;;;;;;;;;;;;;;;;:3;:43::i;17944:761::-;18368:23;18394:69;18422:4;18394:69;;;;;;;;;;;;;;;;;18402:5;-1:-1:-1;;;;;18394:27:0;;;:69;;;;;:::i;:::-;18478:17;;18368:95;;-1:-1:-1;18478:21:0;18474:224;;18620:10;18609:30;;;;;;;;;;;;;;;-1:-1:-1;18609:30:0;18601:85;;;;-1:-1:-1;;;18601:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1424:192;1510:7;1546:12;1538:6;;;;1530:29;;;;-1:-1:-1;;;1530:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1582:5:0;;;1424:192::o;9426:230::-;9563:12;9595:53;9618:6;9626:4;9632:1;9635:12;9595:22;:53::i;:::-;9588:60;9426:230;-1:-1:-1;;;;9426:230:0:o;11097:1025::-;11273:12;11306:18;11317:6;11306:10;:18::i;:::-;11298:60;;;;;-1:-1:-1;;;11298:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;11432:12;11446:23;11473:6;-1:-1:-1;;;;;11473:11:0;11493:8;11504:4;11473:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11473:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11431:78;;;;11524:7;11520:595;;;11555:10;-1:-1:-1;11548:17:0;;-1:-1:-1;11548:17:0;11520:595;11669:17;;:21;11665:439;;11932:10;11926:17;11993:15;11980:10;11976:2;11972:19;11965:44;11880:148;12068:20;;-1:-1:-1;;;12068:20:0;;;;;;;;;;;;;;;;;12075:12;;12068:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6915:422;7282:20;7321:8;;;6915:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://1c08f0dd6f4561440abe23b414e5e01f8298a0f7b1218cf62d0289711636ef84
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.