MOVR Price: $2.12 (-0.58%)

Contract

0xa1f61Ca61fe8655d2a204B518f6De964145a9324

Overview

MOVR Balance

Moonriver Chain LogoMoonriver Chain LogoMoonriver Chain Logo0 MOVR

MOVR Value

$0.00

Token Holdings

More Info

Private Name Tags

Transaction Hash
Block
From
To
Unstake117915982025-05-31 7:01:18244 days ago1748674878IN
Templar DAO: Staking
0 MOVR0.000116580.3125
Unstake97746182025-01-06 13:43:24389 days ago1736171004IN
Templar DAO: Staking
0 MOVR0.002456673.3
Unstake97729592025-01-06 10:47:54389 days ago1736160474IN
Templar DAO: Staking
0 MOVR0.00093121.25
Unstake71692482024-07-03 13:39:42576 days ago1720013982IN
Templar DAO: Staking
0 MOVR0.001042222.8
Unstake64746792024-04-03 22:11:30666 days ago1712182290IN
Templar DAO: Staking
0 MOVR0.00052912.75
Unstake63532722024-03-16 23:06:42684 days ago1710630402IN
Templar DAO: Staking
0 MOVR0.000611263.177
Unstake62841432024-03-06 15:04:18695 days ago1709737458IN
Templar DAO: Staking
0 MOVR0.000529072.75
Unstake62648112024-03-03 17:13:06698 days ago1709485986IN
Templar DAO: Staking
0 MOVR0.000529132.75
Unstake61863662024-02-20 23:03:06709 days ago1708470186IN
Templar DAO: Staking
0 MOVR0.00052912.75
Unstake59039212024-01-08 15:50:36753 days ago1704729036IN
Templar DAO: Staking
0 MOVR0.000611613.178845
Unstake51702282023-09-23 4:36:30860 days ago1695443790IN
Templar DAO: Staking
0 MOVR0.000505632.76337249
Unstake51702282023-09-23 4:36:30860 days ago1695443790IN
Templar DAO: Staking
0 MOVR0.000505632.76337249
Unstake51702282023-09-23 4:36:30860 days ago1695443790IN
Templar DAO: Staking
0 MOVR0.000505632.76337249
Unstake51702282023-09-23 4:36:30860 days ago1695443790IN
Templar DAO: Staking
0 MOVR0.000531672.76337249
Unstake51701362023-09-23 4:18:00860 days ago1695442680IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51699782023-09-23 3:46:24860 days ago1695440784IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51699742023-09-23 3:45:37860 days ago1695440737IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51699302023-09-23 3:36:48860 days ago1695440208IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51698272023-09-23 3:16:02860 days ago1695438962IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51697972023-09-23 3:10:00860 days ago1695438600IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51673322023-09-22 18:53:18861 days ago1695408798IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51673042023-09-22 18:47:42861 days ago1695408462IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51672982023-09-22 18:46:30861 days ago1695408390IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51663742023-09-22 15:41:06861 days ago1695397266IN
Templar DAO: Staking
0 MOVR0.000543152.9475
Unstake51663352023-09-22 15:33:18861 days ago1695396798IN
Templar DAO: Staking
0 MOVR0.000543152.9475
View all transactions

View more zero value Internal Transactions in Advanced View mode

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Staking

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at moonriver.moonscan.io on 2021-12-24
*/

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

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

    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 ISWORD {
    function rebase( uint256 profit_, 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 Staking is Ownable {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    address public immutable TEM;
    address public immutable SWORD;

    struct Epoch {
        uint length;
        uint number;
        uint endBlock;
        uint distribute;
    }
    Epoch public epoch;

    address public distributor;
    
    address public locker;
    uint public totalBonus;
    
    address public warmupContract;
    uint public warmupPeriod;
    
    constructor ( 
        address _TEM, 
        address _SWORD, 
        uint _epochLength,
        uint _firstEpochNumber,
        uint _firstEpochBlock
    ) {
        require( _TEM != address(0) );
        TEM = _TEM;
        require( _SWORD != address(0) );
        SWORD = _SWORD;
        
        epoch = Epoch({
            length: _epochLength,
            number: _firstEpochNumber,
            endBlock: _firstEpochBlock,
            distribute: 0
        });
    }

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

    /**
        @notice stake TEM to enter warmup
        @param _amount uint
        @return bool
     */
    function stake( uint _amount, address _recipient ) external returns ( bool ) {
        rebase();
        
        IERC20( TEM ).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( ISWORD( SWORD ).gonsForBalance( _amount ) ),
            expiry: epoch.number.add( warmupPeriod ),
            lock: false
        });
        
        IERC20( SWORD ).safeTransfer( warmupContract, _amount );
        return true;
    }

    /**
        @notice retrieve SWORD 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, ISWORD( SWORD ).balanceForGons( info.gons ) );
        }
    }

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

        IWarmup( warmupContract ).retrieve( address(this), ISWORD( SWORD ).balanceForGons( info.gons ) );
        IERC20( TEM ).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 SWORD for TEM
        @param _amount uint
        @param _trigger bool
     */
    function unstake( uint _amount, bool _trigger ) external {
        if ( _trigger ) {
            rebase();
        }
        IERC20( SWORD ).safeTransferFrom( msg.sender, address(this), _amount );
        IERC20( TEM ).safeTransfer( msg.sender, _amount );
    }

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

    /**
        @notice trigger rebase if epoch over
     */
    function rebase() public {
        if( epoch.endBlock <= block.number ) {

            ISWORD( SWORD ).rebase( epoch.distribute, epoch.number );

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

            uint balance = contractBalance();
            uint staked = ISWORD( SWORD ).circulatingSupply();

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

    /**
        @notice returns contract TEM holdings, including bonuses provided
        @return uint
     */
    function contractBalance() public view returns ( uint ) {
        return IERC20( TEM ).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( SWORD ).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( SWORD ).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 for new stakers
     * @param _warmupPeriod uint
     */
    function setWarmup( uint _warmupPeriod ) external onlyManager() {
        warmupPeriod = _warmupPeriod;
    }

    // ------------------------------
    // sync rebase time cross-chain
    // ------------------------------
    modifier onlyDistributor() {
        require(distributor == msg.sender, "Distributor: caller is not the distributor");
        _;
    }

    function updateEpochBlock(uint256 _blockNumber) external onlyDistributor() {
        epoch.endBlock = _blockNumber;
    }

    function setEpochLength(uint256 _length) external onlyDistributor() {
        epoch.length = _length;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_TEM","type":"address"},{"internalType":"address","name":"_SWORD","type":"address"},{"internalType":"uint256","name":"_epochLength","type":"uint256"},{"internalType":"uint256","name":"_firstEpochNumber","type":"uint256"},{"internalType":"uint256","name":"_firstEpochBlock","type":"uint256"}],"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":"SWORD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEM","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":"length","type":"uint256"},{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"uint256","name":"endBlock","type":"uint256"},{"internalType":"uint256","name":"distribute","type":"uint256"}],"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":[{"internalType":"enum Staking.CONTRACTS","name":"_contract","type":"uint8"},{"internalType":"address","name":"_address","type":"address"}],"name":"setContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_length","type":"uint256"}],"name":"setEpochLength","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":[{"internalType":"uint256","name":"_blockNumber","type":"uint256"}],"name":"updateEpochBlock","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"}]

60c060405234801561001057600080fd5b50604051612cb5380380612cb5833981810160405260a081101561003357600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a3600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561016157600080fd5b8473ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156101d257600080fd5b8373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505060405180608001604052808481526020018381526020018281526020016000815250600260008201518160000155602082015181600101556040820151816002015560608201518160030155905050505050505060805160601c60a05160601c6129e96102cc6000398061072d52806108f55280610a765280610b98528061133a52806114cb5280611a175280611abe5280611cc35280612040528061224a5250806111c452806118635280611a635280611ebc528061216452506129e96000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80638b7afe2e116100f9578063c9f464ff11610097578063e348cef811610071578063e348cef8146105ef578063ed4acaa814610623578063f3d86e4a14610657578063f62ae76a14610661576101a9565b8063c9f464ff1461056f578063d7b96d4e1461059d578063deac361a146105d1576101a9565b80639ebea88c116100d35780639ebea88c146104d9578063a8dd07dc14610513578063af14052c14610531578063bfe109281461053b576101a9565b80638b7afe2e1461047e5780638f077b831461049c578063900cf0cf146104a6576101a9565b8063481c6a751161016657806366c5c2641161014057806366c5c2641461032c5780636746f4c21461035a5780637acb7757146103c9578063865e6fd31461042d576101a9565b8063481c6a75146102c057806354eea796146102f45780635a96ac0a14610322576101a9565b806303c23670146101ae578063089208d8146101dc57806313dc989f146101e65780631e83409a1461021a5780632986c0e51461025e57806346f68ee91461027c575b600080fd5b6101da600480360360208110156101c457600080fd5b810190808035906020019092919050505061068f565b005b6101e4610774565b005b6101ee6108f3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61025c6004803603602081101561023057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610917565b005b610266610b94565b6040518082815260200191505060405180910390f35b6102be6004803603602081101561029257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c3c565b005b6102c8610e41565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103206004803603602081101561030a57600080fd5b8101908080359060200190929190505050610e6a565b005b61032a610f1d565b005b6103586004803603602081101561034257600080fd5b81019080803590602001909291905050506110c3565b005b61039c6004803603602081101561037057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611175565b60405180858152602001848152602001838152602001821515815260200194505050505060405180910390f35b610415600480360360408110156103df57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111b2565b60405180821515815260200191505060405180910390f35b61047c6004803603604081101561044357600080fd5b81019080803560ff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061151a565b005b610486611859565b6040518082815260200191505060405180910390f35b6104a4611936565b005b6104ae6119e2565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b610511600480360360408110156104ef57600080fd5b8101908080359060200190929190803515159060200190929190505050611a00565b005b61051b611aab565b6040518082815260200191505060405180910390f35b610539611ab1565b005b610543611d9d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059b6004803603602081101561058557600080fd5b8101908080359060200190929190505050611dc3565b005b6105a5611e8e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d9611eb4565b6040518082815260200191505060405180910390f35b6105f7611eba565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61062b611ede565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61065f611f04565b005b61068d6004803603602081101561067757600080fd5b81019080803590602001909291905050506121ab565b005b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106e957600080fd5b6106fe8160085461229290919063ffffffff16565b600881905550610771600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661231a9092919063ffffffff16565b50565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610835576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f000000000000000000000000000000000000000000000000000000000000000081565b61091f6128a7565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff16151515158152505090508060400151600260010154101580156109c257506000816040015114155b15610b9057600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690555050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3a2a665837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637965d56d85602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d6020811015610b1357600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610b7757600080fd5b505af1158015610b8b573d6000803e3d6000fd5b505050505b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b158015610bfc57600080fd5b505afa158015610c10573d6000803e3d6000fd5b505050506040513d6020811015610c2657600080fd5b8101908080519060200190929190505050905090565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806128f56026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612960602a913960400191505060405180910390fd5b8060026000018190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fc3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061293e6022913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d60405160405180910390a3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612960602a913960400191505060405180910390fd5b80600280018190555050565b600b6020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16905084565b60006111bc611ab1565b6112093330857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166123bc909392919063ffffffff16565b6112116128a7565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff161515151581525050905080606001511561130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4465706f7369747320666f72206163636f756e7420617265206c6f636b65640081525060200191505060405180910390fd5b604051806080016040528061133086846000015161229290919063ffffffff16565b81526020016113f77f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631bd39674886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156113a957600080fd5b505afa1580156113bd573d6000803e3d6000fd5b505050506040513d60208110156113d357600080fd5b8101908080519060200190929190505050846020015161229290919063ffffffff16565b8152602001611416600a5460026001015461229290919063ffffffff16565b815260200160001515815250600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555090505061150f600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661231a9092919063ffffffff16565b600191505092915050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060028111156115e857fe5b8260028111156115f457fe5b14156116405780600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611855565b6001600281111561164d57fe5b82600281111561165957fe5b141561174c57600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611706576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061291b6023913960400191505060405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611854565b60028081111561175857fe5b82600281111561176457fe5b141561185357600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806128d26023913960400191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b5b5050565b60006119316008547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156118e857600080fd5b505afa1580156118fc573d6000803e3d6000fd5b505050506040513d602081101561191257600080fd5b810190808051906020019092919050505061229290919063ffffffff16565b905090565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160009054906101000a900460ff1615600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160006101000a81548160ff021916908315150217905550565b60028060000154908060010154908060020154908060030154905084565b8015611a0f57611a0e611ab1565b5b611a5c3330847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166123bc909392919063ffffffff16565b611aa733837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661231a9092919063ffffffff16565b5050565b60085481565b43600280015411611d9b577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663058ecdb46002600301546002600101546040518363ffffffff1660e01b81526004018083815260200182815260200192505050602060405180830381600087803b158015611b4157600080fd5b505af1158015611b55573d6000803e3d6000fd5b505050506040513d6020811015611b6b57600080fd5b810190808051906020019092919050505050611b99600260000154600280015461229290919063ffffffff16565b6002800181905550600260010160008154809291906001019190505550600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611cb357600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e4fc6b6d6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611c7657600080fd5b505af1158015611c8a573d6000803e3d6000fd5b505050506040513d6020811015611ca057600080fd5b8101908080519060200190929190505050505b6000611cbd611859565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639358928b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d2757600080fd5b505afa158015611d3b573d6000803e3d6000fd5b505050506040513d6020811015611d5157600080fd5b81019080805190602001909291905050509050808211611d7b576000600260030181905550611d98565b611d8e818361247d90919063ffffffff16565b6002600301819055505b50505b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600a8190555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f0c6128a7565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815250509050600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690555050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3a2a665307f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637965d56d85602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156120b357600080fd5b505afa1580156120c7573d6000803e3d6000fd5b505050506040513d60208110156120dd57600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561214157600080fd5b505af1158015612155573d6000803e3d6000fd5b505050506121a83382600001517f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661231a9092919063ffffffff16565b50565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461220557600080fd5b61221a8160085461247d90919063ffffffff16565b60088190555061228f600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166123bc909392919063ffffffff16565b50565b600080828401905083811015612310576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6123b78363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124c7565b505050565b612477846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124c7565b50505050565b60006124bf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506125b6565b905092915050565b6060612529826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126769092919063ffffffff16565b90506000815111156125b15780806020019051602081101561254a57600080fd5b81019080805190602001909291905050506125b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061298a602a913960400191505060405180910390fd5b5b505050565b6000838311158290612663576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561262857808201518184015260208101905061260d565b50505050905090810190601f1680156126555780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060612685848460008561268e565b90509392505050565b606061269985612894565b61270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061275b5780518252602082019150602081019050602083039250612738565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146127bd576040519150601f19603f3d011682016040523d82523d6000602084013e6127c2565b606091505b509150915081156127d757809250505061288c565b6000815111156127ea5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612851578082015181840152602081019050612836565b50505050905090810190601f16801561287e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b6040518060800160405280600081526020016000815260200160008152602001600015158152509056fe4c6f636b65722063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735761726d75702063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4469737472696275746f723a2063616c6c6572206973206e6f7420746865206469737472696275746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220e00a2fd41db55e3092a3d3b8f24c5add7c99f2948e7c0a3ab0e69878b6c389fc64736f6c63430007050033000000000000000000000000d86e3f7b2ff4e803f90c799d702955003bca98750000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b900000000000000000000000000000000000000000000000000000000000009c40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011bb10

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80638b7afe2e116100f9578063c9f464ff11610097578063e348cef811610071578063e348cef8146105ef578063ed4acaa814610623578063f3d86e4a14610657578063f62ae76a14610661576101a9565b8063c9f464ff1461056f578063d7b96d4e1461059d578063deac361a146105d1576101a9565b80639ebea88c116100d35780639ebea88c146104d9578063a8dd07dc14610513578063af14052c14610531578063bfe109281461053b576101a9565b80638b7afe2e1461047e5780638f077b831461049c578063900cf0cf146104a6576101a9565b8063481c6a751161016657806366c5c2641161014057806366c5c2641461032c5780636746f4c21461035a5780637acb7757146103c9578063865e6fd31461042d576101a9565b8063481c6a75146102c057806354eea796146102f45780635a96ac0a14610322576101a9565b806303c23670146101ae578063089208d8146101dc57806313dc989f146101e65780631e83409a1461021a5780632986c0e51461025e57806346f68ee91461027c575b600080fd5b6101da600480360360208110156101c457600080fd5b810190808035906020019092919050505061068f565b005b6101e4610774565b005b6101ee6108f3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61025c6004803603602081101561023057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610917565b005b610266610b94565b6040518082815260200191505060405180910390f35b6102be6004803603602081101561029257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c3c565b005b6102c8610e41565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103206004803603602081101561030a57600080fd5b8101908080359060200190929190505050610e6a565b005b61032a610f1d565b005b6103586004803603602081101561034257600080fd5b81019080803590602001909291905050506110c3565b005b61039c6004803603602081101561037057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611175565b60405180858152602001848152602001838152602001821515815260200194505050505060405180910390f35b610415600480360360408110156103df57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111b2565b60405180821515815260200191505060405180910390f35b61047c6004803603604081101561044357600080fd5b81019080803560ff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061151a565b005b610486611859565b6040518082815260200191505060405180910390f35b6104a4611936565b005b6104ae6119e2565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b610511600480360360408110156104ef57600080fd5b8101908080359060200190929190803515159060200190929190505050611a00565b005b61051b611aab565b6040518082815260200191505060405180910390f35b610539611ab1565b005b610543611d9d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059b6004803603602081101561058557600080fd5b8101908080359060200190929190505050611dc3565b005b6105a5611e8e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d9611eb4565b6040518082815260200191505060405180910390f35b6105f7611eba565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61062b611ede565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61065f611f04565b005b61068d6004803603602081101561067757600080fd5b81019080803590602001909291905050506121ab565b005b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106e957600080fd5b6106fe8160085461229290919063ffffffff16565b600881905550610771600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff1661231a9092919063ffffffff16565b50565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610835576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b981565b61091f6128a7565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff16151515158152505090508060400151600260010154101580156109c257506000816040015114155b15610b9057600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690555050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3a2a665837f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff16637965d56d85602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d6020811015610b1357600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610b7757600080fd5b505af1158015610b8b573d6000803e3d6000fd5b505050505b5050565b60007f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff16632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b158015610bfc57600080fd5b505afa158015610c10573d6000803e3d6000fd5b505050506040513d6020811015610c2657600080fd5b8101908080519060200190929190505050905090565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806128f56026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612960602a913960400191505060405180910390fd5b8060026000018190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fc3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061293e6022913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d60405160405180910390a3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612960602a913960400191505060405180910390fd5b80600280018190555050565b600b6020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16905084565b60006111bc611ab1565b6112093330857f000000000000000000000000d86e3f7b2ff4e803f90c799d702955003bca987573ffffffffffffffffffffffffffffffffffffffff166123bc909392919063ffffffff16565b6112116128a7565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff161515151581525050905080606001511561130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4465706f7369747320666f72206163636f756e7420617265206c6f636b65640081525060200191505060405180910390fd5b604051806080016040528061133086846000015161229290919063ffffffff16565b81526020016113f77f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff16631bd39674886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156113a957600080fd5b505afa1580156113bd573d6000803e3d6000fd5b505050506040513d60208110156113d357600080fd5b8101908080519060200190929190505050846020015161229290919063ffffffff16565b8152602001611416600a5460026001015461229290919063ffffffff16565b815260200160001515815250600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555090505061150f600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16857f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff1661231a9092919063ffffffff16565b600191505092915050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060028111156115e857fe5b8260028111156115f457fe5b14156116405780600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611855565b6001600281111561164d57fe5b82600281111561165957fe5b141561174c57600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611706576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061291b6023913960400191505060405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611854565b60028081111561175857fe5b82600281111561176457fe5b141561185357600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806128d26023913960400191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b5b5050565b60006119316008547f000000000000000000000000d86e3f7b2ff4e803f90c799d702955003bca987573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156118e857600080fd5b505afa1580156118fc573d6000803e3d6000fd5b505050506040513d602081101561191257600080fd5b810190808051906020019092919050505061229290919063ffffffff16565b905090565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160009054906101000a900460ff1615600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160006101000a81548160ff021916908315150217905550565b60028060000154908060010154908060020154908060030154905084565b8015611a0f57611a0e611ab1565b5b611a5c3330847f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff166123bc909392919063ffffffff16565b611aa733837f000000000000000000000000d86e3f7b2ff4e803f90c799d702955003bca987573ffffffffffffffffffffffffffffffffffffffff1661231a9092919063ffffffff16565b5050565b60085481565b43600280015411611d9b577f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff1663058ecdb46002600301546002600101546040518363ffffffff1660e01b81526004018083815260200182815260200192505050602060405180830381600087803b158015611b4157600080fd5b505af1158015611b55573d6000803e3d6000fd5b505050506040513d6020811015611b6b57600080fd5b810190808051906020019092919050505050611b99600260000154600280015461229290919063ffffffff16565b6002800181905550600260010160008154809291906001019190505550600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611cb357600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e4fc6b6d6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611c7657600080fd5b505af1158015611c8a573d6000803e3d6000fd5b505050506040513d6020811015611ca057600080fd5b8101908080519060200190929190505050505b6000611cbd611859565b905060007f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff16639358928b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d2757600080fd5b505afa158015611d3b573d6000803e3d6000fd5b505050506040513d6020811015611d5157600080fd5b81019080805190602001909291905050509050808211611d7b576000600260030181905550611d98565b611d8e818361247d90919063ffffffff16565b6002600301819055505b50505b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600a8190555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b7f000000000000000000000000d86e3f7b2ff4e803f90c799d702955003bca987581565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f0c6128a7565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815250509050600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690555050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3a2a665307f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff16637965d56d85602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156120b357600080fd5b505afa1580156120c7573d6000803e3d6000fd5b505050506040513d60208110156120dd57600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561214157600080fd5b505af1158015612155573d6000803e3d6000fd5b505050506121a83382600001517f000000000000000000000000d86e3f7b2ff4e803f90c799d702955003bca987573ffffffffffffffffffffffffffffffffffffffff1661231a9092919063ffffffff16565b50565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461220557600080fd5b61221a8160085461247d90919063ffffffff16565b60088190555061228f600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630837f0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b973ffffffffffffffffffffffffffffffffffffffff166123bc909392919063ffffffff16565b50565b600080828401905083811015612310576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6123b78363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124c7565b505050565b612477846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124c7565b50505050565b60006124bf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506125b6565b905092915050565b6060612529826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126769092919063ffffffff16565b90506000815111156125b15780806020019051602081101561254a57600080fd5b81019080805190602001909291905050506125b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061298a602a913960400191505060405180910390fd5b5b505050565b6000838311158290612663576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561262857808201518184015260208101905061260d565b50505050905090810190601f1680156126555780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060612685848460008561268e565b90509392505050565b606061269985612894565b61270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061275b5780518252602082019150602081019050602083039250612738565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146127bd576040519150601f19603f3d011682016040523d82523d6000602084013e6127c2565b606091505b509150915081156127d757809250505061288c565b6000815111156127ea5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612851578082015181840152602081019050612836565b50505050905090810190601f16801561287e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b6040518060800160405280600081526020016000815260200160008152602001600015158152509056fe4c6f636b65722063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735761726d75702063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4469737472696275746f723a2063616c6c6572206973206e6f7420746865206469737472696275746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220e00a2fd41db55e3092a3d3b8f24c5add7c99f2948e7c0a3ab0e69878b6c389fc64736f6c63430007050033

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

000000000000000000000000d86e3f7b2ff4e803f90c799d702955003bca98750000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b900000000000000000000000000000000000000000000000000000000000009c40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011bb10

-----Decoded View---------------
Arg [0] : _TEM (address): 0xD86E3F7B2Ff4e803f90c799D702955003bcA9875
Arg [1] : _SWORD (address): 0x8C9827Cd430d945aE5A5c3cfdc522f8D342334B9
Arg [2] : _epochLength (uint256): 2500
Arg [3] : _firstEpochNumber (uint256): 0
Arg [4] : _firstEpochBlock (uint256): 1162000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000d86e3f7b2ff4e803f90c799d702955003bca9875
Arg [1] : 0000000000000000000000008c9827cd430d945ae5a5c3cfdc522f8d342334b9
Arg [2] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000011bb10


Deployed Bytecode Sourcemap

20803:6821:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25599:205;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19498:159;;;:::i;:::-;;20943:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22901:339;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24369:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19665:261;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19271:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27512:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19938:221;;;:::i;:::-;;27381:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21945:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22111:685;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26317:570;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25346:140;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23743:119;;;:::i;:::-;;21103:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23985:267;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21197:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24536:687;;;:::i;:::-;;21130:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27001:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21169:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21268:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20908:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21232:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23324:307;;;:::i;:::-;;25919:226;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25599:205;25681:6;;;;;;;;;;;25667:20;;:10;:20;;;25658:31;;;;;;25713:25;25729:7;25713:10;;:14;;:25;;;;:::i;:::-;25700:10;:38;;;;25749:47;25779:6;;;;;;;;;;;25787:7;25757:5;25749:28;;;;:47;;;;;:::i;:::-;25599:205;:::o;19498:159::-;19422:10;19412:20;;:6;;;;;;;;;;:20;;;19403:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19615:1:::1;19582:37;;19599:6;::::0;::::1;;;;;;;;19582:37;;;;;;;;;;;;19647:1;19630:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;19498:159::o:0;20943:30::-;;;:::o;22901:339::-;22957:17;;:::i;:::-;22977:10;:24;22989:10;22977:24;;;;;;;;;;;;;;;22957:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23033:4;:11;;;23017:5;:12;;;:27;;:47;;;;;23063:1;23048:4;:11;;;:16;;23017:47;23012:221;;;23089:10;:24;23101:10;23089:24;;;;;;;;;;;;;;;;23082:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23137:14;;;;;;;;;;;23128:34;;;23164:10;23184:5;23176:30;;;23208:4;:9;;;23176:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23128:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23012:221;22901:339;;:::o;24369:95::-;24408:4;24441:5;24433:21;;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24426:30;;24369:95;:::o;19665:261::-;19422:10;19412:20;;:6;;;;;;;;;;:20;;;19403:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19789:1:::1;19768:23;;:9;:23;;;;19759:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19875:9;19850:36;;19867:6;::::0;::::1;;;;;;;;19850:36;;;;;;;;;;;;19909:9;19897;;:21;;;;;;;;;;;;;;;;;;19665:261:::0;:::o;19271:90::-;19320:7;19347:6;;;;;;;;;;;19340:13;;19271:90;:::o;27512:109::-;27296:10;27281:25;;:11;;;;;;;;;;;:25;;;27273:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27606:7:::1;27591:5;:12;;:22;;;;27512:109:::0;:::o;19938:221::-;20022:9;;;;;;;;;;;20008:23;;:10;:23;;;19999:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20111:9;;;;;;;;;;;20086:36;;20103:6;;;;;;;;;;20086:36;;;;;;;;;;;;20142:9;;;;;;;;;;;20133:6;;:18;;;;;;;;;;;;;;;;;;19938:221::o;27381:123::-;27296:10;27281:25;;:11;;;;;;;;;;;:25;;;27273:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27484:12:::1;27467:5;:14:::0;::::1;:29;;;;27381:123:::0;:::o;21945:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22111:685::-;22181:4;22199:8;:6;:8::i;:::-;22228:68;22260:10;22280:4;22287:7;22236:3;22228:30;;;;:68;;;;;;:::i;:::-;22309:17;;:::i;:::-;22329:10;:24;22341:10;22329:24;;;;;;;;;;;;;;;22309:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22374:4;:9;;;22373:10;22364:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22460:230;;;;;;;;22491:27;22509:7;22491:4;:12;;;:16;;:27;;;;:::i;:::-;22460:230;;;;22539:58;22562:5;22554:30;;;22586:7;22554:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22539:4;:9;;;:13;;:58;;;;:::i;:::-;22460:230;;;;22620:32;22638:12;;22620:5;:12;;;:16;;:32;;;;:::i;:::-;22460:230;;;;22673:5;22460:230;;;;;22433:10;:24;22445:10;22433:24;;;;;;;;;;;;;;;:257;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22711:55;22741:14;;;;;;;;;;;22757:7;22719:5;22711:28;;;;:55;;;;;:::i;:::-;22784:4;22777:11;;;22111:685;;;;:::o;26317:570::-;19422:10;19412:20;;:6;;;;;;;;;;:20;;;19403:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26430:21:::1;26417:34;;;;;;;;:9;:34;;;;;;;;;26413:467;;;26488:8;26474:11;;:22;;;;;;;;;;;;;;;;;;26413:467;;;26532:16;26519:29;;;;;;;;:9;:29;;;;;;;;;26514:366;;;26607:1;26580:30;;:14;;;;;;;;;;;:30;;;26571:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26683:8;26666:14;;:25;;;;;;;;;;;;;;;;;;26514:366;;;26727:16;26714:29:::0;::::1;;;;;;;:9;:29;;;;;;;;;26709:171;;;26793:1;26775:20;;:6;;;;;;;;;;;:20;;;26766:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26860:8;26851:6;;:17;;;;;;;;;;;;;;;;;;26709:171;26514:366;26413:467;26317:570:::0;;:::o;25346:140::-;25395:4;25420:58;25466:10;;25428:3;25420:23;;;25453:4;25420:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;;:58;;;;:::i;:::-;25413:65;;25346:140;:::o;23743:119::-;23825:10;:24;23837:10;23825:24;;;;;;;;;;;;;;;:29;;;;;;;;;;;;23824:30;23792:10;:24;23804:10;23792:24;;;;;;;;;;;;;;;:29;;;:62;;;;;;;;;;;;;;;;;;23743:119::o;21103:18::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;23985:267::-;24058:8;24053:51;;;24084:8;:6;:8::i;:::-;24053:51;24114:70;24148:10;24168:4;24175:7;24122:5;24114:32;;;;:70;;;;;;:::i;:::-;24195:49;24223:10;24235:7;24203:3;24195:26;;;;:49;;;;;:::i;:::-;23985:267;;:::o;21197:22::-;;;;:::o;24536:687::-;24594:12;24576:5;:14;;;:30;24572:644;;24634:5;24626:22;;;24650:5;:16;;;24668:5;:12;;;24626:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24716:34;24736:5;:12;;;24716:5;:14;;;:18;;:34;;;;:::i;:::-;24699:5;:14;;:51;;;;24765:5;:12;;;:14;;;;;;;;;;;;;24836:1;24813:25;;:11;;;;;;;;;;;:25;;;24808:108;;24874:11;;;;;;;;;;;24860:38;;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24808:108;24932:12;24947:17;:15;:17::i;:::-;24932:32;;24979:11;25001:5;24993:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24979:49;;25060:6;25049:7;:17;25045:160;;25107:1;25088:5;:16;;:20;;;;25045:160;;;25168:21;25181:6;25168:7;:11;;:21;;;;:::i;:::-;25149:5;:16;;:40;;;;25045:160;24572:644;;;24536:687::o;21130:26::-;;;;;;;;;;;;;:::o;27001:111::-;19422:10;19412:20;;:6;;;;;;;;;;:20;;;19403:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27091:13:::1;27076:12;:28;;;;27001:111:::0;:::o;21169:21::-;;;;;;;;;;;;;:::o;21268:24::-;;;;:::o;20908:28::-;;;:::o;21232:29::-;;;;;;;;;;;;;:::o;23324:307::-;23363:17;;:::i;:::-;23383:10;:24;23395:10;23383:24;;;;;;;;;;;;;;;23363:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23425:10;:24;23437:10;23425:24;;;;;;;;;;;;;;;;23418:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23471:14;;;;;;;;;;;23462:34;;;23506:4;23521:5;23513:30;;;23545:4;:9;;;23513:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23462:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23569:54;23597:10;23609:4;:12;;;23577:3;23569:26;;;;:54;;;;;:::i;:::-;23324:307;:::o;25919:226::-;26003:6;;;;;;;;;;;25989:20;;:10;:20;;;25980:31;;;;;;26035:25;26051:7;26035:10;;:14;;:25;;;;:::i;:::-;26022:10;:38;;;;26071:66;26105:6;;;;;;;;;;;26121:4;26128:7;26079:5;26071:32;;;;:66;;;;;;:::i;:::-;25919:226;:::o;336:181::-;394:7;414:9;430:1;426;:5;414:17;;455:1;450;:6;;442:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;508:1;501:8;;;336:181;;;;:::o;15577:177::-;15660:86;15680:5;15710:23;;;15735:2;15739:5;15687:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15660:19;:86::i;:::-;15577:177;;;:::o;15762:205::-;15863:96;15883:5;15913:27;;;15942:4;15948:2;15952:5;15890:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15863:19;:96::i;:::-;15762:205;;;;:::o;800:136::-;858:7;885:43;889:1;892;885:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;878:50;;800:136;;;;:::o;17882:761::-;18306:23;18332:69;18360:4;18332:69;;;;;;;;;;;;;;;;;18340:5;18332:27;;;;:69;;;;;:::i;:::-;18306:95;;18436:1;18416:10;:17;:21;18412:224;;;18558:10;18547:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18539:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18412:224;17882:761;;;:::o;1239:192::-;1325:7;1358:1;1353;:6;;1361:12;1345:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1385:9;1401:1;1397;:5;1385:17;;1422:1;1415:8;;;1239:192;;;;;:::o;9648:196::-;9751:12;9783:53;9806:6;9814:4;9820:1;9823:12;9783:22;:53::i;:::-;9776:60;;9648:196;;;;;:::o;11239:979::-;11369:12;11402:18;11413:6;11402:10;:18::i;:::-;11394:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11528:12;11542:23;11569:6;:11;;11589:8;11600:4;11569:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11527:78;;;;11620:7;11616:595;;;11651:10;11644:17;;;;;;11616:595;11785:1;11765:10;:17;:21;11761:439;;;12028:10;12022:17;12089:15;12076:10;12072:2;12068:19;12061:44;11976:148;12171:12;12164:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11239:979;;;;;;;:::o;6730:422::-;6790:4;6998:12;7109:7;7097:20;7089:28;;7143:1;7136:4;:8;7129:15;;;6730:422;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://e00a2fd41db55e3092a3d3b8f24c5add7c99f2948e7c0a3ab0e69878b6c389fc

Block Transaction Gas Used Reward
view all blocks collator

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