ETH Price: $3,466.94 (+2.93%)

Contract

0x2BedCEd99bc5cccA1E94F7b0b4DbE81f7bE201B8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Rewards182422102023-09-29 15:17:47452 days ago1696000667IN
0x2BedCEd9...f7bE201B8
0 ETH0.011227714.76001154
Claim Rewards181072492023-09-10 16:44:59471 days ago1694364299IN
0x2BedCEd9...f7bE201B8
0 ETH0.0077978910.48689973
Claim Rewards167333152023-03-01 10:55:59664 days ago1677668159IN
0x2BedCEd9...f7bE201B8
0 ETH0.0153334420
Claim Rewards165319492023-02-01 5:42:11692 days ago1675230131IN
0x2BedCEd9...f7bE201B8
0 ETH0.0108639314.72884388
Claim Rewards162773142022-12-27 16:36:11728 days ago1672158971IN
0x2BedCEd9...f7bE201B8
0 ETH0.0232707930.49491418
Claim Rewards161929782022-12-15 22:08:23740 days ago1671142103IN
0x2BedCEd9...f7bE201B8
0 ETH0.003029219.65915696
Claim Rewards161771762022-12-13 17:10:35742 days ago1670951435IN
0x2BedCEd9...f7bE201B8
0 ETH0.0224859730.26229414
Claim Rewards160828112022-11-30 12:29:47755 days ago1669811387IN
0x2BedCEd9...f7bE201B8
0 ETH0.0030148213.17347615
Claim Rewards160786672022-11-29 22:36:23756 days ago1669761383IN
0x2BedCEd9...f7bE201B8
0 ETH0.0108642514.37614473
Claim Rewards160624912022-11-27 16:22:47758 days ago1669566167IN
0x2BedCEd9...f7bE201B8
0 ETH0.0080517810.59715556
Claim Rewards160472212022-11-25 13:12:35760 days ago1669381955IN
0x2BedCEd9...f7bE201B8
0 ETH0.0089994912.19688483
Claim Rewards159746512022-11-15 9:50:23770 days ago1668505823IN
0x2BedCEd9...f7bE201B8
0 ETH0.0046270914.75518185
Claim Rewards154258192022-08-28 4:50:05849 days ago1661662205IN
0x2BedCEd9...f7bE201B8
0 ETH0.003544984.80879176
Claim Rewards154235392022-08-27 19:56:39850 days ago1661630199IN
0x2BedCEd9...f7bE201B8
0 ETH0.007580389.87087246
Claim Rewards153127482022-08-10 6:24:09867 days ago1660112649IN
0x2BedCEd9...f7bE201B8
0 ETH0.005858917.86193599
Claim Rewards152591062022-08-01 21:33:30876 days ago1659389610IN
0x2BedCEd9...f7bE201B8
0 ETH0.0142487519.07821281
Claim Rewards152374552022-07-29 12:51:44879 days ago1659099104IN
0x2BedCEd9...f7bE201B8
0 ETH0.0095571412.45357014
Claim Rewards151965282022-07-23 3:30:24885 days ago1658547024IN
0x2BedCEd9...f7bE201B8
0 ETH0.0035147511.89638107
Claim Rewards147780772022-05-15 5:09:35954 days ago1652591375IN
0x2BedCEd9...f7bE201B8
0 ETH0.0062266719.61063288
Claim Rewards147776262022-05-15 3:30:16954 days ago1652585416IN
0x2BedCEd9...f7bE201B8
0 ETH0.0158798821.38947637
Claim Rewards147762562022-05-14 22:24:12955 days ago1652567052IN
0x2BedCEd9...f7bE201B8
0 ETH0.0145049619.33140039
Claim Rewards147751922022-05-14 18:30:32955 days ago1652553032IN
0x2BedCEd9...f7bE201B8
0 ETH0.0127062728.96498295
Claim Rewards147740132022-05-14 14:05:08955 days ago1652537108IN
0x2BedCEd9...f7bE201B8
0 ETH0.0272476837.19546005
Claim Rewards147734352022-05-14 11:46:58955 days ago1652528818IN
0x2BedCEd9...f7bE201B8
0 ETH0.0287900838.91645937
Claim Rewards147715632022-05-14 4:28:40955 days ago1652502520IN
0x2BedCEd9...f7bE201B8
0 ETH0.0209887228.93734766
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FeeDistributor

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-01
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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 IVotingEscrow {
    function balanceOfAt(address _address, uint _block) external view returns (uint);
    function totalSupplyAt(uint _block) external view returns (uint);
}

/**
 * @title FeeDistributor
 * @notice Contract shouldn't have added rewards more than tx limit can handle because claiming rewards loops on added rewards
 */
contract FeeDistributor {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    struct Reward {
        address token;
        uint blockNumber;
        uint amount; 
    }

    mapping(address => bool) public isManager;
    mapping(uint => Reward) public rewards;
    //index of reward that is next to be claimed
    mapping(address => uint) public lastClaimed;
    mapping(address => mapping(uint => bool)) public isClaimed;

    uint public numberOfRewards;
    IVotingEscrow public votingEscrow;

    constructor(address _votingEscrow) public {
        votingEscrow = IVotingEscrow(_votingEscrow);
        isManager[msg.sender] = true;
    }

    /** 
     * @notice Adds a new reward distribution
     * @param _token The address of the token
     * @param _amount The amount of token
     */
    function addReward(
        address _token,
        uint _amount
    )
        external
        onlyManager
    {
        Reward memory newReward;
        newReward.blockNumber = block.number;
        newReward.token = _token;
        newReward.amount = _amount;

        rewards[numberOfRewards] = newReward;
        numberOfRewards++;

        IERC20(_token).safeTransferFrom(msg.sender, address(this), _amount);    
    }

    /** 
     * @notice Adds a new reward distribution at a specific block
     * @param _token The address of the token
     * @param _amount The amount of token
     * @param _block Block number
     */
    function addRewardAtBlock(
        address _token,
        uint _amount,
        uint _block
    )
        external
        onlyManager
    {
        Reward memory newReward;
        newReward.blockNumber = _block;
        newReward.token = _token;
        newReward.amount = _amount;

        rewards[numberOfRewards] = newReward;
        numberOfRewards++;

        IERC20(_token).safeTransferFrom(msg.sender, address(this), _amount);    
    }

    /** 
     * @notice Returns reward amount of _address in _token
     * @param _token The address of the token
     * @param _address The address
     */
    function getRewardAmount(
        address _token,
        address _address
    )
        external
        view
        returns(uint reward)
    {
        uint addressLastClaimed = lastClaimed[_address];
        
        while(addressLastClaimed < numberOfRewards) {
            Reward memory cReward = rewards[addressLastClaimed];

            //skip if reward is in a different token or if _address already claimed this reward individually
            if(cReward.token != _token || isClaimed[_address][addressLastClaimed]) {
                addressLastClaimed++;
                continue;
            }
            
            //_address share of total supply of veYAXIS at _block times reward amount
            reward += votingEscrow.balanceOfAt(_address, cReward.blockNumber).mul(cReward.amount).div(votingEscrow.totalSupplyAt(cReward.blockNumber));
            addressLastClaimed++;
        } 
    }

    /** 
     * @notice Claims rewards in _token
     * @param _token The address of the token
     */
    function claimRewards(
        address _token
    )
        external
    {
        uint addressLastClaimed = lastClaimed[msg.sender];
        require(addressLastClaimed < numberOfRewards, "No rewards to claim");

        uint reward;
        while(addressLastClaimed < numberOfRewards) {
            Reward memory cReward = rewards[addressLastClaimed];
            
            //skip if sender already claimed this reward individually
            if(cReward.token != _token || isClaimed[msg.sender][addressLastClaimed]) {
                addressLastClaimed++;
                continue;
            }
            
            //sender share of total supply of veYAXIS at _block times reward amount
            reward += votingEscrow.balanceOfAt(msg.sender, cReward.blockNumber).mul(cReward.amount).div(votingEscrow.totalSupplyAt(cReward.blockNumber));
            isClaimed[msg.sender][addressLastClaimed] = true;
            addressLastClaimed++;
        } 
        //to avoid wasting gas on claiming zero tokens 
        require(reward > 0, "!rewards");

        IERC20(_token).safeTransfer(msg.sender, reward);
        updateLastClaimed(msg.sender);
    }

    /** 
     * @notice Claims reward by index in _token
     * @param _token The address of the token
     * @param _index The index of the reward
     */
    function claimRewardsByIndex(
        address _token,
        uint _index
    )
        external
    {
        require(_index < numberOfRewards, "Wrong index");
        require(!isClaimed[msg.sender][_index], "Reward is already claimed");

        Reward memory cReward = rewards[_index];

        uint reward = votingEscrow.balanceOfAt(msg.sender, cReward.blockNumber).mul(cReward.amount).div(votingEscrow.totalSupplyAt(cReward.blockNumber));
        isClaimed[msg.sender][_index] = true;
        
        //to avoid wasting gas on claiming zero tokens
        require(reward > 0, "!rewards");

        IERC20(_token).safeTransfer(msg.sender, reward);
        updateLastClaimed(msg.sender);
    }

    /**
     * @notice Updates lastClaimed that is used to reduce loops
     * @param _address The address to optimize
     */
    function updateLastClaimed(
        address _address
    )
        internal
    {
        uint addressLastClaimed = lastClaimed[_address];

        while(addressLastClaimed <= numberOfRewards) {
            if(!isClaimed[_address][addressLastClaimed]) {
                lastClaimed[_address] = addressLastClaimed;
                break;
            }
            addressLastClaimed++;
        }
    }

    /**
     * @notice Sets the status of a manager
     * @param _manager The address of the manager
     * @param _status The status to allow the manager 
     */
    function setManager(
        address _manager,
        bool _status
    )
        external
        onlyManager
    {
        isManager[_manager] = _status;
    }

    modifier onlyManager() {
        require(isManager[msg.sender], "!manager");
        _;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_votingEscrow","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"addRewardAtBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"claimRewardsByIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_address","type":"address"}],"name":"getRewardAmount","outputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isManager","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"votingEscrow","outputs":[{"internalType":"contract IVotingEscrow","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051611faf380380611faf8339818101604052602081101561003357600080fd5b810190808051906020019092919050505080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050611ec3806100ec6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063a2c9514111610071578063a2c951411461026d578063a5e90eee146102e5578063ef5cfb8c14610335578063f301af4214610379578063f3ae2415146103df578063ff2ddc2214610439576100b4565b8063013eba92146100b95780631739faa2146101115780634f2bfe5b14610169578063562beba81461019d57806362de8253146102015780639feb8f501461021f575b600080fd5b6100fb600480360360208110156100cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610487565b6040518082815260200191505060405180910390f35b6101676004803603606081101561012757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919050505061049f565b005b61017161066a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e9600480360360408110156101b357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610690565b60405180821515815260200191505060405180910390f35b6102096106bf565b6040518082815260200191505060405180910390f35b61026b6004803603604081101561023557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506106c5565b005b6102cf6004803603604081101561028357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061088f565b6040518082815260200191505060405180910390f35b610333600480360360408110156102fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610bdf565b005b6103776004803603602081101561034b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cf7565b005b6103a56004803603602081101561038f57600080fd5b81019080803590602001909291905050506111d0565b604051808473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390f35b610421600480360360208110156103f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061121a565b60405180821515815260200191505060405180910390f35b6104856004803603604081101561044f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061123a565b005b60026020528060005260406000206000915090505481565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661055d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216d616e6167657200000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b610565611de5565b8181602001818152505083816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160400181815250508060016000600454815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201559050506004600081548092919060010191905055506106643330858773ffffffffffffffffffffffffffffffffffffffff166116da909392919063ffffffff16565b50505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60045481565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610783576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216d616e6167657200000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b61078b611de5565b4381602001818152505082816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050818160400181815250508060016000600454815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015590505060046000815480929190600101919050555061088a3330848673ffffffffffffffffffffffffffffffffffffffff166116da909392919063ffffffff16565b505050565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b600454811015610bd8576108e7611de5565b600160008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152505090508473ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16141580610a0a5750600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff165b15610a1d578180600101925050506108d5565b610bc6600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663981b24d083602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610a9757600080fd5b505afa158015610aab573d6000803e3d6000fd5b505050506040513d6020811015610ac157600080fd5b8101908080519060200190929190505050610bb88360400151600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ee2cd7e8987602001516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b158015610b6f57600080fd5b505afa158015610b83573d6000803e3d6000fd5b505050506040513d6020811015610b9957600080fd5b810190808051906020019092919050505061179b90919063ffffffff16565b61182190919063ffffffff16565b830192508180600101925050506108d5565b5092915050565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c9d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216d616e6167657200000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506004548110610db2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f207265776172647320746f20636c61696d0000000000000000000000000081525060200191505060405180910390fd5b60005b60045482101561112157610dc7611de5565b600160008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152505090508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16141580610eea5750600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff165b15610efd57828060010193505050610db5565b6110a6600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663981b24d083602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f7757600080fd5b505afa158015610f8b573d6000803e3d6000fd5b505050506040513d6020811015610fa157600080fd5b81019080805190602001909291905050506110988360400151600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ee2cd7e3387602001516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b15801561104f57600080fd5b505afa158015611063573d6000803e3d6000fd5b505050506040513d602081101561107957600080fd5b810190808051906020019092919050505061179b90919063ffffffff16565b61182190919063ffffffff16565b820191506001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550828060010193505050610db5565b60008111611197576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f217265776172647300000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6111c233828573ffffffffffffffffffffffffffffffffffffffff166118aa9092919063ffffffff16565b6111cb3361194c565b505050565b60016020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b60006020528060005260406000206000915054906101000a900460ff1681565b60045481106112b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f57726f6e6720696e64657800000000000000000000000000000000000000000081525060200191505060405180910390fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff1615611382576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f52657761726420697320616c726561647920636c61696d65640000000000000081525060200191505060405180910390fd5b61138a611de5565b600160008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282015481525050905060006115bf600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663981b24d084602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561149057600080fd5b505afa1580156114a4573d6000803e3d6000fd5b505050506040513d60208110156114ba57600080fd5b81019080805190602001909291905050506115b18460400151600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ee2cd7e3388602001516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b15801561156857600080fd5b505afa15801561157c573d6000803e3d6000fd5b505050506040513d602081101561159257600080fd5b810190808051906020019092919050505061179b90919063ffffffff16565b61182190919063ffffffff16565b90506001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600081116116a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f217265776172647300000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6116cb33828673ffffffffffffffffffffffffffffffffffffffff166118aa9092919063ffffffff16565b6116d43361194c565b50505050565b611795846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a56565b50505050565b6000808314156117ae576000905061181b565b60008284029050828482816117bf57fe5b0414611816576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611e436021913960400191505060405180910390fd5b809150505b92915050565b6000808211611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816118a157fe5b04905092915050565b6119478363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a56565b505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b6004548111611a5257600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16611a455780600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a52565b8080600101915050611991565b5050565b6060611ab8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611b459092919063ffffffff16565b9050600081511115611b4057808060200190516020811015611ad957600080fd5b8101908080519060200190929190505050611b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611e64602a913960400191505060405180910390fd5b5b505050565b6060611b548484600085611b5d565b90509392505050565b606082471015611bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611e1d6026913960400191505060405180910390fd5b611bc185611d06565b611c33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310611c835780518252602082019150602081019050602083039250611c60565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611ce5576040519150601f19603f3d011682016040523d82523d6000602084013e611cea565b606091505b5091509150611cfa828286611d19565b92505050949350505050565b600080823b905060008111915050919050565b60608315611d2957829050611dde565b600083511115611d3c5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611da3578082015181840152602081019050611d88565b50505050905090810190601f168015611dd05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152509056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c5fdd201a130d47b60ee7085b39a54021a74c6b000616e82d51e506e93d72e2f64736f6c634300060c003300000000000000000000000066b4c0daa0c65ed1eae84b4d738b9572a79389c4

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063a2c9514111610071578063a2c951411461026d578063a5e90eee146102e5578063ef5cfb8c14610335578063f301af4214610379578063f3ae2415146103df578063ff2ddc2214610439576100b4565b8063013eba92146100b95780631739faa2146101115780634f2bfe5b14610169578063562beba81461019d57806362de8253146102015780639feb8f501461021f575b600080fd5b6100fb600480360360208110156100cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610487565b6040518082815260200191505060405180910390f35b6101676004803603606081101561012757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919050505061049f565b005b61017161066a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e9600480360360408110156101b357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610690565b60405180821515815260200191505060405180910390f35b6102096106bf565b6040518082815260200191505060405180910390f35b61026b6004803603604081101561023557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506106c5565b005b6102cf6004803603604081101561028357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061088f565b6040518082815260200191505060405180910390f35b610333600480360360408110156102fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610bdf565b005b6103776004803603602081101561034b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cf7565b005b6103a56004803603602081101561038f57600080fd5b81019080803590602001909291905050506111d0565b604051808473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390f35b610421600480360360208110156103f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061121a565b60405180821515815260200191505060405180910390f35b6104856004803603604081101561044f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061123a565b005b60026020528060005260406000206000915090505481565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661055d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216d616e6167657200000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b610565611de5565b8181602001818152505083816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160400181815250508060016000600454815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201559050506004600081548092919060010191905055506106643330858773ffffffffffffffffffffffffffffffffffffffff166116da909392919063ffffffff16565b50505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60045481565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610783576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216d616e6167657200000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b61078b611de5565b4381602001818152505082816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050818160400181815250508060016000600454815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015590505060046000815480929190600101919050555061088a3330848673ffffffffffffffffffffffffffffffffffffffff166116da909392919063ffffffff16565b505050565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b600454811015610bd8576108e7611de5565b600160008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152505090508473ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16141580610a0a5750600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff165b15610a1d578180600101925050506108d5565b610bc6600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663981b24d083602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610a9757600080fd5b505afa158015610aab573d6000803e3d6000fd5b505050506040513d6020811015610ac157600080fd5b8101908080519060200190929190505050610bb88360400151600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ee2cd7e8987602001516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b158015610b6f57600080fd5b505afa158015610b83573d6000803e3d6000fd5b505050506040513d6020811015610b9957600080fd5b810190808051906020019092919050505061179b90919063ffffffff16565b61182190919063ffffffff16565b830192508180600101925050506108d5565b5092915050565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c9d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216d616e6167657200000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506004548110610db2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f207265776172647320746f20636c61696d0000000000000000000000000081525060200191505060405180910390fd5b60005b60045482101561112157610dc7611de5565b600160008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152505090508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16141580610eea5750600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff165b15610efd57828060010193505050610db5565b6110a6600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663981b24d083602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f7757600080fd5b505afa158015610f8b573d6000803e3d6000fd5b505050506040513d6020811015610fa157600080fd5b81019080805190602001909291905050506110988360400151600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ee2cd7e3387602001516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b15801561104f57600080fd5b505afa158015611063573d6000803e3d6000fd5b505050506040513d602081101561107957600080fd5b810190808051906020019092919050505061179b90919063ffffffff16565b61182190919063ffffffff16565b820191506001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550828060010193505050610db5565b60008111611197576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f217265776172647300000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6111c233828573ffffffffffffffffffffffffffffffffffffffff166118aa9092919063ffffffff16565b6111cb3361194c565b505050565b60016020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b60006020528060005260406000206000915054906101000a900460ff1681565b60045481106112b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f57726f6e6720696e64657800000000000000000000000000000000000000000081525060200191505060405180910390fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff1615611382576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f52657761726420697320616c726561647920636c61696d65640000000000000081525060200191505060405180910390fd5b61138a611de5565b600160008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282015481525050905060006115bf600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663981b24d084602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561149057600080fd5b505afa1580156114a4573d6000803e3d6000fd5b505050506040513d60208110156114ba57600080fd5b81019080805190602001909291905050506115b18460400151600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ee2cd7e3388602001516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b15801561156857600080fd5b505afa15801561157c573d6000803e3d6000fd5b505050506040513d602081101561159257600080fd5b810190808051906020019092919050505061179b90919063ffffffff16565b61182190919063ffffffff16565b90506001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600081116116a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f217265776172647300000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6116cb33828673ffffffffffffffffffffffffffffffffffffffff166118aa9092919063ffffffff16565b6116d43361194c565b50505050565b611795846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a56565b50505050565b6000808314156117ae576000905061181b565b60008284029050828482816117bf57fe5b0414611816576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611e436021913960400191505060405180910390fd5b809150505b92915050565b6000808211611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816118a157fe5b04905092915050565b6119478363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a56565b505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b6004548111611a5257600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16611a455780600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a52565b8080600101915050611991565b5050565b6060611ab8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611b459092919063ffffffff16565b9050600081511115611b4057808060200190516020811015611ad957600080fd5b8101908080519060200190929190505050611b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611e64602a913960400191505060405180910390fd5b5b505050565b6060611b548484600085611b5d565b90509392505050565b606082471015611bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611e1d6026913960400191505060405180910390fd5b611bc185611d06565b611c33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310611c835780518252602082019150602081019050602083039250611c60565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611ce5576040519150601f19603f3d011682016040523d82523d6000602084013e611cea565b606091505b5091509150611cfa828286611d19565b92505050949350505050565b600080823b905060008111915050919050565b60608315611d2957829050611dde565b600083511115611d3c5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611da3578082015181840152602081019050611d88565b50505050905090810190601f168015611dd05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152509056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c5fdd201a130d47b60ee7085b39a54021a74c6b000616e82d51e506e93d72e2f64736f6c634300060c0033

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

00000000000000000000000066b4c0daa0c65ed1eae84b4d738b9572a79389c4

-----Decoded View---------------
Arg [0] : _votingEscrow (address): 0x66b4c0dAA0C65ED1eae84B4d738B9572a79389c4

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000066b4c0daa0c65ed1eae84b4d738b9572a79389c4


Deployed Bytecode Sourcemap

20883:6259:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21229:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22388:463;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21380:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21279:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21346:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21729:440;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23021:928;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26866:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24064:1186;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21134:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21086:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25419:716;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21229:43;;;;;;;;;;;;;;;;;:::o;22388:463::-;27085:9;:21;27095:10;27085:21;;;;;;;;;;;;;;;;;;;;;;;;;27077:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22546:23:::1;;:::i;:::-;22604:6;22580:9;:21;;:30;;;::::0;::::1;22639:6;22621:9;:15;;:24;;;;;;;;;::::0;::::1;22675:7;22656:9;:16;;:26;;;::::0;::::1;22722:9;22695:7;:24;22703:15;;22695:24;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22742:15;;:17;;;;;;;;;;;;;22772:67;22804:10;22824:4;22831:7;22779:6;22772:31;;;;:67;;;;;;:::i;:::-;27130:1;22388:463:::0;;;:::o;21380:33::-;;;;;;;;;;;;;:::o;21279:58::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21346:27::-;;;;:::o;21729:440::-;27085:9;:21;27095:10;27085:21;;;;;;;;;;;;;;;;;;;;;;;;;27077:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21858:23:::1;;:::i;:::-;21916:12;21892:9;:21;;:36;;;::::0;::::1;21957:6;21939:9;:15;;:24;;;;;;;;;::::0;::::1;21993:7;21974:9;:16;;:26;;;::::0;::::1;22040:9;22013:7;:24;22021:15;;22013:24;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22060:15;;:17;;;;;;;;;;;;;22090:67;22122:10;22142:4;22149:7;22097:6;22090:31;;;;:67;;;;;;:::i;:::-;27130:1;21729:440:::0;;:::o;23021:928::-;23154:11;23183:23;23209:11;:21;23221:8;23209:21;;;;;;;;;;;;;;;;23183:47;;23251:690;23278:15;;23257:18;:36;23251:690;;;23310:21;;:::i;:::-;23334:7;:27;23342:18;23334:27;;;;;;;;;;;23310:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23508:6;23491:23;;:7;:13;;;:23;;;;:66;;;;23518:9;:19;23528:8;23518:19;;;;;;;;;;;;;;;:39;23538:18;23518:39;;;;;;;;;;;;;;;;;;;;;23491:66;23488:153;;;23578:20;;;;;;;23617:8;;;23488:153;23766:128;23846:12;;;;;;;;;;;:26;;;23873:7;:19;;;23846:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23766:75;23826:7;:14;;;23766:12;;;;;;;;;;;:24;;;23791:8;23801:7;:19;;;23766:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:59;;:75;;;;:::i;:::-;:79;;:128;;;;:::i;:::-;23756:138;;;;23909:20;;;;;;;23251:690;;;;23021:928;;;;;:::o;26866:169::-;27085:9;:21;27095:10;27085:21;;;;;;;;;;;;;;;;;;;;;;;;;27077:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27020:7:::1;26998:9;:19:::0;27008:8:::1;26998:19;;;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;26866:169:::0;;:::o;24064:1186::-;24152:23;24178:11;:23;24190:10;24178:23;;;;;;;;;;;;;;;;24152:49;;24241:15;;24220:18;:36;24212:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24293:11;24315:728;24342:15;;24321:18;:36;24315:728;;;24374:21;;:::i;:::-;24398:7;:27;24406:18;24398:27;;;;;;;;;;;24374:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24545:6;24528:23;;:7;:13;;;:23;;;;:68;;;;24555:9;:21;24565:10;24555:21;;;;;;;;;;;;;;;:41;24577:18;24555:41;;;;;;;;;;;;;;;;;;;;;24528:68;24525:155;;;24617:20;;;;;;;24656:8;;;24525:155;24803:130;24885:12;;;;;;;;;;;:26;;;24912:7;:19;;;24885:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24803:77;24865:7;:14;;;24803:12;;;;;;;;;;;:24;;;24828:10;24840:7;:19;;;24803:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:61;;:77;;;;:::i;:::-;:81;;:130;;;;:::i;:::-;24793:140;;;;24992:4;24948:9;:21;24958:10;24948:21;;;;;;;;;;;;;;;:41;24970:18;24948:41;;;;;;;;;;;;:48;;;;;;;;;;;;;;;;;;25011:20;;;;;;;24315:728;;;;25128:1;25119:6;:10;25111:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25155:47;25183:10;25195:6;25162;25155:27;;;;:47;;;;;:::i;:::-;25213:29;25231:10;25213:17;:29::i;:::-;24064:1186;;;:::o;21134:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21086:41::-;;;;;;;;;;;;;;;;;;;;;;:::o;25419:716::-;25553:15;;25544:6;:24;25536:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25604:9;:21;25614:10;25604:21;;;;;;;;;;;;;;;:29;25626:6;25604:29;;;;;;;;;;;;;;;;;;;;;25603:30;25595:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25676:21;;:::i;:::-;25700:7;:15;25708:6;25700:15;;;;;;;;;;;25676:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25728:11;25742:130;25824:12;;;;;;;;;;;:26;;;25851:7;:19;;;25824:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25742:77;25804:7;:14;;;25742:12;;;;;;;;;;;:24;;;25767:10;25779:7;:19;;;25742:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:61;;:77;;;;:::i;:::-;:81;;:130;;;;:::i;:::-;25728:144;;25915:4;25883:9;:21;25893:10;25883:21;;;;;;;;;;;;;;;:29;25905:6;25883:29;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;26013:1;26004:6;:10;25996:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26040:47;26068:10;26080:6;26047;26040:27;;;;:47;;;;;:::i;:::-;26098:29;26116:10;26098:17;:29::i;:::-;25419:716;;;;:::o;17641:205::-;17742:96;17762:5;17792:27;;;17821:4;17827:2;17831:5;17769:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17742:19;:96::i;:::-;17641:205;;;;:::o;3068:220::-;3126:7;3155:1;3150;:6;3146:20;;;3165:1;3158:8;;;;3146:20;3177:9;3193:1;3189;:5;3177:17;;3222:1;3217;3213;:5;;;;;;:10;3205:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3279:1;3272:8;;;3068:220;;;;;:::o;3766:153::-;3824:7;3856:1;3852;:5;3844:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3910:1;3906;:5;;;;;;3899:12;;3766:153;;;;:::o;17456:177::-;17539:86;17559:5;17589:23;;;17614:2;17618:5;17566:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17539:19;:86::i;:::-;17456:177;;;:::o;26274:414::-;26369:23;26395:11;:21;26407:8;26395:21;;;;;;;;;;;;;;;;26369:47;;26429:252;26457:15;;26435:18;:37;26429:252;;26493:9;:19;26503:8;26493:19;;;;;;;;;;;;;;;:39;26513:18;26493:39;;;;;;;;;;;;;;;;;;;;;26489:146;;26577:18;26553:11;:21;26565:8;26553:21;;;;;;;;;;;;;;;:42;;;;26614:5;;26489:146;26649:20;;;;;;;26429:252;;;26274:414;;:::o;19761:761::-;20185:23;20211:69;20239:4;20211:69;;;;;;;;;;;;;;;;;20219:5;20211:27;;;;:69;;;;;:::i;:::-;20185:95;;20315:1;20295:10;:17;:21;20291:224;;;20437:10;20426:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20418:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20291:224;19761:761;;;:::o;10384:195::-;10487:12;10519:52;10541:6;10549:4;10555:1;10558:12;10519:21;:52::i;:::-;10512:59;;10384:195;;;;;:::o;11436:530::-;11563:12;11621:5;11596:21;:30;;11588:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11688:18;11699:6;11688:10;:18::i;:::-;11680:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11814:12;11828:23;11855:6;:11;;11875:5;11883:4;11855:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11813:75;;;;11906:52;11924:7;11933:10;11945:12;11906:17;:52::i;:::-;11899:59;;;;11436:530;;;;;;:::o;7466:422::-;7526:4;7734:12;7845:7;7833:20;7825:28;;7879:1;7872:4;:8;7865:15;;;7466:422;;;:::o;13976:742::-;14091:12;14120:7;14116:595;;;14151:10;14144:17;;;;14116:595;14285:1;14265:10;:17;:21;14261:439;;;14528:10;14522:17;14589:15;14576:10;14572:2;14568:19;14561:44;14476:148;14671:12;14664:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13976:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://c5fdd201a130d47b60ee7085b39a54021a74c6b000616e82d51e506e93d72e2f

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.