ETH Price: $1,849.10 (-2.01%)

Contract

0xD0aE7da0EcE12811ce13297257d7fc42848E107E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Request Withdraw221401652025-03-27 18:53:1143 hrs ago1743101591IN
0xD0aE7da0...2848E107E
0 ETH0.000065030.92439075
Withdraw Reward221401582025-03-27 18:51:4743 hrs ago1743101507IN
0xD0aE7da0...2848E107E
0 ETH0.000080660.93577425
Request Withdraw221358212025-03-27 4:20:232 days ago1743049223IN
0xD0aE7da0...2848E107E
0 ETH0.000062190.88399794
Withdraw Reward221357972025-03-27 4:15:232 days ago1743048923IN
0xD0aE7da0...2848E107E
0 ETH0.000079850.92626484
Withdraw Reward221255802025-03-25 18:03:113 days ago1742925791IN
0xD0aE7da0...2848E107E
0 ETH0.000072961.05545056
Withdraw221255162025-03-25 17:50:233 days ago1742925023IN
0xD0aE7da0...2848E107E
0 ETH0.000096671.39870132
Request Withdraw221255042025-03-25 17:47:593 days ago1742924879IN
0xD0aE7da0...2848E107E
0 ETH0.000080591.14551587
Withdraw220971322025-03-21 18:46:597 days ago1742582819IN
0xD0aE7da0...2848E107E
0 ETH0.000047110.90624896
Withdraw220839532025-03-19 22:39:119 days ago1742423951IN
0xD0aE7da0...2848E107E
0 ETH0.000050430.96983081
Withdraw Reward220839492025-03-19 22:38:239 days ago1742423903IN
0xD0aE7da0...2848E107E
0 ETH0.000093780.90830736
Request Withdraw220839452025-03-19 22:37:359 days ago1742423855IN
0xD0aE7da0...2848E107E
0 ETH0.000100441.42761971
Request Withdraw220744602025-03-18 14:48:4710 days ago1742309327IN
0xD0aE7da0...2848E107E
0 ETH0.000107251.52467848
Withdraw Reward220744562025-03-18 14:47:5910 days ago1742309279IN
0xD0aE7da0...2848E107E
0 ETH0.000124011.48432126
Withdraw219737132025-03-04 13:05:5925 days ago1741093559IN
0xD0aE7da0...2848E107E
0 ETH0.00010432.00565818
Request Withdraw219737062025-03-04 13:04:3525 days ago1741093475IN
0xD0aE7da0...2848E107E
0 ETH0.000145232.06472753
Withdraw Reward219736962025-03-04 13:02:3525 days ago1741093355IN
0xD0aE7da0...2848E107E
0 ETH0.000186881.8094884
Withdraw219578962025-03-02 8:09:3527 days ago1740902975IN
0xD0aE7da0...2848E107E
0 ETH0.000059541.1446337
Request Withdraw219578912025-03-02 8:08:3527 days ago1740902915IN
0xD0aE7da0...2848E107E
0 ETH0.000077521.10191666
Withdraw Reward219578872025-03-02 8:07:4727 days ago1740902867IN
0xD0aE7da0...2848E107E
0 ETH0.000096871.12374487
Withdraw219198042025-02-25 0:36:5932 days ago1740443819IN
0xD0aE7da0...2848E107E
0 ETH0.000218924.83587562
Request Withdraw219197872025-02-25 0:33:3532 days ago1740443615IN
0xD0aE7da0...2848E107E
0 ETH0.000411225.84701788
Withdraw Reward219197752025-02-25 0:31:1132 days ago1740443471IN
0xD0aE7da0...2848E107E
0 ETH0.000654966.33970653
Withdraw218572462025-02-16 6:42:5941 days ago1739688179IN
0xD0aE7da0...2848E107E
0 ETH0.000079451.27391868
Request Withdraw218572392025-02-16 6:41:3541 days ago1739688095IN
0xD0aE7da0...2848E107E
0 ETH0.000079891.13602772
Withdraw218325762025-02-12 19:45:2344 days ago1739389523IN
0xD0aE7da0...2848E107E
0 ETH0.000106922.05604587
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer191652862024-02-05 23:19:11417 days ago1707175151
0xD0aE7da0...2848E107E
0.00872932 ETH
Transfer191652462024-02-05 23:11:11417 days ago1707174671
0xD0aE7da0...2848E107E
0.00963747 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Nominator

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-09
*/

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

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

// SPDX-License-Identifier: MIT AND UNLICENSED

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


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


pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


pragma solidity ^0.8.0;


/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using 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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


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


pragma solidity ^0.8.0;

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

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


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


pragma solidity ^0.8.0;

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

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

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

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

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

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

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


// File contracts/Custodian.sol

pragma solidity ^0.8.4;
contract Custodian is Ownable {
    using SafeERC20 for IERC20;

    event Withdraw(address indexed account, uint256 amount);

    mapping(address => bool) private _authorized;

    modifier validAddress(address addr){
        require(addr != address(0), "Zero address");
        _;
    }

    function withdrawTo(address token, address recipient, uint256 amount) public validAddress(token) validAddress(recipient) {
        require(_authorized[msg.sender], "Not authorized");
        IERC20(token).safeTransfer(recipient, amount);
        emit Withdraw(recipient, amount);
    }

    function withdraw(address token, uint256 amount) external {
        withdrawTo(token, msg.sender, amount);
    }

    function addAuthorized(address addr) external onlyOwner validAddress(addr) {
        require(!_authorized[addr], "Already authorized");
        _authorized[addr] = true;
    }

    function removeAuthorized(address addr) external onlyOwner validAddress(addr) {
        require(_authorized[addr], "Already de-authorized");
        _authorized[addr] = false;
    }

    function isAuthorized(address addr) external view validAddress(addr) returns (bool) {
        return _authorized[addr];
    }
}


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


pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}


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


pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}


// File contracts/mocks/ERC20Mock.sol

pragma solidity ^0.8.4;
contract ERC20Mock is ERC20 {
    constructor(
        string memory name,
        string memory symbol,
        uint256 totalSupply
    ) ERC20(name, symbol) {
        _mint(msg.sender, totalSupply);
    }
}


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


pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}


// File contracts/NominatorOwner.sol

pragma solidity ^0.8.4;

abstract contract NominatorOwner is Ownable {
    event RootUpdated(bytes32 claimRoot, uint256 blockNumber);
    event InflationRateBaseUpdated(uint16 inflationRateBase);
    event InflationRateTargetUpdated(uint16 inflationRateTarget);
    event StakeRateTargetUpdated(uint16 inflationRateTarget);
    event BondingPeriodUpdated(uint32 bondingPeriod);

    uint16 public inflationRateBase = 50; //0.5%
    uint16 public inflationRateTarget = 225; //2.25%
    uint16 public stakeRateTarget = 1500; //15%

    uint32 public bondingPeriod = 7 days;

    uint256 public lastRootBlock;
    mapping(uint256 => bytes32) public claimRoots;

    modifier validAddress(address addr) {
        require(addr != address(0), "Zero address");
        _;
    }

    function setInflationRateBase(uint16 value) external onlyOwner {
        inflationRateBase = value;
        emit InflationRateBaseUpdated(value);
    }

    function setInflationRateTarget(uint16 value) external onlyOwner {
        inflationRateTarget = value;
        emit InflationRateTargetUpdated(value);
    }

    function setStakeRateTarget(uint16 value) external onlyOwner {
        stakeRateTarget = value;
        emit StakeRateTargetUpdated(value);
    }

    function updateRoot(bytes32 claimRoot, uint256 blockNumber) external onlyOwner {
        require(lastRootBlock < blockNumber && blockNumber < block.number, "Invalid block number");
        lastRootBlock = blockNumber;
        claimRoots[blockNumber] = claimRoot;
        emit RootUpdated(claimRoot, blockNumber);
    }

    function setBondingPeriod(uint32 time) external onlyOwner {
        bondingPeriod = time;
        emit BondingPeriodUpdated(time);
    }
}


// File contracts/Nominator.sol

pragma solidity ^0.8.4;





contract Nominator is NominatorOwner {
    using SafeERC20 for IERC20;
    using MerkleProof for bytes32[];

    event Withdrawn(address indexed addr, uint256 amount);
    event RewardWithdrawn(address indexed addr);
    event WithdrawRequested(address indexed addr, uint256 amount);

    uint256 public constant stakeMin = 100e18;
    uint256 public constant stakeMax = 5_000_000e18;
    uint16 public constant decayRate = 1500; //5%
    uint32 public constant rewardPeriod = 365 days;

    address private immutable token;
    address private immutable custodian;

    mapping(address => uint256) public balances;
    mapping(address => uint256) public totalPayoutsFor;

    struct WithdrawRequest {
        uint192 amount;
        uint64 timestamp;
    }

    mapping(address => WithdrawRequest[]) public withdrawalRequests;

    constructor(address _token, address _custodian) {
        token = _token;
        custodian = _custodian;
    }

    function deposit(uint256 amount) external {
        balances[msg.sender] += amount;

        IERC20(token).safeTransferFrom(msg.sender, address(this), amount);
    }

    function requestWithdraw(uint256 amount) external {
        require(amount > 0 && amount <= balances[msg.sender], "Invalid amount");

        withdrawalRequests[msg.sender].push(WithdrawRequest(uint192(amount), uint64(block.timestamp + bondingPeriod)));

        balances[msg.sender] -= amount;

        emit WithdrawRequested(msg.sender, amount);
    }

    function maxWithdrawAmount(address beneficiary) public view returns (uint256) {
        uint256 result;
        WithdrawRequest[] storage accountRequests = withdrawalRequests[beneficiary];
        uint256 n = accountRequests.length;
        for (uint256 i; i < n; i++) {
            WithdrawRequest memory request = accountRequests[i];
            if (request.timestamp <= block.timestamp) {
                result += request.amount;
            }
        }
        return result;
    }

    function withdraw(address beneficiary, uint256 amount) external {
        require(amount <= maxWithdrawAmount(beneficiary), "Invalid amount");

        WithdrawRequest[] storage accountRequests = withdrawalRequests[beneficiary];
        uint256 requestedAmount = amount;
        uint256 i;
        uint256 lastIndex = accountRequests.length - 1;
        while (requestedAmount > 0 && i <= lastIndex) {
            WithdrawRequest memory request = accountRequests[i];
            if (request.timestamp > block.timestamp) {
                i++;
                continue;
            }
            if (request.amount > requestedAmount) {
                accountRequests[i].amount = uint192(request.amount - requestedAmount);
                break;
            }
            requestedAmount -= request.amount;
            if (i < lastIndex) {
                accountRequests[i] = accountRequests[lastIndex];
            }
            accountRequests.pop();
            if (lastIndex > 0) {
                lastIndex--;
            }
        }

        IERC20(token).safeTransfer(beneficiary, amount);

        emit Withdrawn(beneficiary, amount);
    }

    function stakeOf(address addr) external view validAddress(addr) returns (uint256) {
        uint256 balance = balances[addr];

        if (balance < stakeMin) return 0;
        if (balance > stakeMax) return stakeMax;

        return balance;
    }

    function isValidProof(
        address recipient,
        uint256 totalEarned,
        uint256 blockNumber,
        bytes32[] calldata proof
    ) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(recipient, totalEarned, block.chainid, address(this)));
        bytes32 root = claimRoots[blockNumber];
        return proof.verify(root, leaf);
    }

    function withdrawReward(
        address recipient,
        uint256 totalEarned,
        uint256 blockNumber,
        bytes32[] calldata proof
    ) external {
        require(isValidProof(recipient, totalEarned, blockNumber, proof), "Invalid proof");
        uint256 totalReceived = totalPayoutsFor[recipient];
        require(totalEarned >= totalReceived, "Already paid");
        uint256 amount = totalEarned - totalReceived;
        if (amount == 0) return;
        totalPayoutsFor[recipient] = totalEarned;

        Custodian(custodian).withdrawTo(token, recipient, amount);

        emit RewardWithdrawn(recipient);
    }
}


// File contracts/ValidatorOwner.sol

pragma solidity ^0.8.4;
abstract contract ValidatorOwner is Ownable {
    event RootUpdated(bytes32 claimRoot, uint256 blockNumber);
    event AddedToWhitelist(address addr);
    event RemovedFromWhitelist(address addr);
    event InflationRateBaseUpdated(uint16 inflationRateBase);
    event InflationRateTargetUpdated(uint16 inflationRateTarget);
    event SlotsMaxUpdated(uint256 slotsMax);

    uint256 public slotsMax = 500;
    uint16 public inflationRateBase = 200; //2%
    uint16 public inflationRateTarget = 250; //2.5%

    mapping(address => bool) public whitelist;

    uint256 public lastRootBlock;
    mapping(uint256 => bytes32) public claimRoots;

    modifier validAddress(address addr) {
        require(addr != address(0), "Zero address");
        _;
    }

    function whitelistAdd(address addr) external onlyOwner validAddress(addr) {
        require(!whitelist[addr], "Already whitelisted");

        whitelist[addr] = true;

        emit AddedToWhitelist(addr);
    }

    function whitelistRemove(address addr) external onlyOwner validAddress(addr) {
        require(whitelist[addr], "Already removed from whitelist");

        whitelist[addr] = false;

        emit RemovedFromWhitelist(addr);
    }

    function setInflationRateBase(uint16 value) external onlyOwner {
        inflationRateBase = value;
        emit InflationRateBaseUpdated(value);
    }

    function setInflationRateTarget(uint16 value) external onlyOwner {
        inflationRateTarget = value;
        emit InflationRateTargetUpdated(value);
    }

    function setSlotsMax(uint256 value) external onlyOwner {
        slotsMax = value;
        emit SlotsMaxUpdated(value);
    }

    function updateRoot(bytes32 claimRoot, uint256 blockNumber) external onlyOwner {
        require(lastRootBlock < blockNumber && blockNumber < block.number, "Invalid block number");
        lastRootBlock = blockNumber;
        claimRoots[blockNumber] = claimRoot;
        emit RootUpdated(claimRoot, blockNumber);
    }
}


// File contracts/Validator.sol

pragma solidity ^0.8.4;
contract Validator is ValidatorOwner {
    using SafeERC20 for IERC20;
    using MerkleProof for bytes32[];

    event Withdrawn(address indexed addr, uint256 amount);
    event RewardWithdrawn(address indexed addr);

    uint256 public constant stakeMin = 20_000e18;
    uint256 public constant stakeMax = 200_000e18;
    uint16 public constant decayRate = 500; //5%
    uint32 public constant rewardPeriod = 365 days;

    address private immutable token;
    address private immutable custodian;

    mapping(address => uint256) public balances;

    mapping(address => uint256) public totalPayoutsFor;

    constructor(address _token, address _custodian) {
        token = _token;
        custodian = _custodian;
    }

    function deposit(uint256 amount) external {
        balances[msg.sender] += amount;

        IERC20(token).safeTransferFrom(msg.sender, address(this), amount);
    }

    function withdraw(uint256 amount) external {
        require(amount > 0 && amount <= balances[msg.sender], "Invalid amount");

        balances[msg.sender] -= amount;

        IERC20(token).safeTransfer(msg.sender, amount);

        emit Withdrawn(msg.sender, amount);
    }

    function stakeOf(address addr) external view validAddress(addr) returns (uint256) {
        uint256 balance = balances[addr];

        if (!whitelist[addr]) return 0;
        if (balance < stakeMin) return 0;
        if (balance > stakeMax) return stakeMax;

        return balance;
    }

    function isValidProof(
        address recipient,
        uint256 totalEarned,
        uint256 blockNumber,
        bytes32[] calldata proof
    ) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(recipient, totalEarned, block.chainid, address(this)));
        bytes32 root = claimRoots[blockNumber];
        return proof.verify(root, leaf);
    }

    function withdrawReward(
        address recipient,
        uint256 totalEarned,
        uint256 blockNumber,
        bytes32[] calldata proof
    ) external {
        require(isValidProof(recipient, totalEarned, blockNumber, proof), "Invalid proof");
        uint256 totalReceived = totalPayoutsFor[recipient];
        require(totalEarned >= totalReceived, "Already paid");
        uint256 amount = totalEarned - totalReceived;
        if (amount == 0) return;
        totalPayoutsFor[recipient] = totalEarned;

        Custodian(custodian).withdrawTo(token, recipient, amount);

        emit RewardWithdrawn(recipient);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_custodian","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"bondingPeriod","type":"uint32"}],"name":"BondingPeriodUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"inflationRateBase","type":"uint16"}],"name":"InflationRateBaseUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"inflationRateTarget","type":"uint16"}],"name":"InflationRateTargetUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"RewardWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"claimRoot","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"RootUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"inflationRateTarget","type":"uint16"}],"name":"StakeRateTargetUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondingPeriod","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decayRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"inflationRateBase","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inflationRateTarget","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"totalEarned","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isValidProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRootBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"maxWithdrawAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"requestWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPeriod","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"time","type":"uint32"}],"name":"setBondingPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"value","type":"uint16"}],"name":"setInflationRateBase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"value","type":"uint16"}],"name":"setInflationRateTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"value","type":"uint16"}],"name":"setStakeRateTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeMin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"stakeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeRateTarget","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPayoutsFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"claimRoot","type":"bytes32"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"updateRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"totalEarned","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"withdrawReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawalRequests","outputs":[{"internalType":"uint192","name":"amount","type":"uint192"},{"internalType":"uint64","name":"timestamp","type":"uint64"}],"stateMutability":"view","type":"function"}]

60c060405260008054600160a01b600160f01b03191668049d4002ee0070801960a11b1790553480156200003257600080fd5b5060405162001b7d38038062001b7d8339810160408190526200005591620000d2565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160601b0319606092831b8116608052911b1660a05262000109565b80516001600160a01b0381168114620000cd57600080fd5b919050565b60008060408385031215620000e5578182fd5b620000f083620000b5565b91506200010060208401620000b5565b90509250929050565b60805160601c60a05160601c611a3a620001436000396000610cff01526000818161091a01528181610cc601526112460152611a3a6000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80639bf87950116100f9578063ca5a278011610097578063e88dc5b711610071578063e88dc5b71461041c578063f2fde38b14610427578063f3fef3a31461043a578063fdc66e231461044d57600080fd5b8063ca5a2780146103d3578063d582b65b146103f6578063e50ed68a1461040957600080fd5b8063ba3f6bd8116100d3578063ba3f6bd81461036c578063c22693b71461037f578063c2e3e62b14610394578063c31c6fb9146103a757600080fd5b80639bf879501461033b578063a9c1f2f114610350578063b6b55f251461035957600080fd5b806359a253f3116101665780637558b6ef116101405780637558b6ef146102e4578063888a1151146103045780638da5cb5b146103175780638e59d4221461033257600080fd5b806359a253f3146102b9578063715018a6146102c9578063745400c9146102d157600080fd5b806347febfd2116101a257806347febfd2146102245780634d676fa71461024c5780634e5a23281461026c57806351ad3a0f146102a757600080fd5b806327e235e3146101c95780633b5c740a146101fc5780634262336014610211575b600080fd5b6101e96101d736600461179e565b60036020526000908152604090205481565b6040519081526020015b60405180910390f35b61020f61020a3660046118ee565b610460565b005b6101e961021f36600461179e565b610532565b60005461023990600160a01b900461ffff1681565b60405161ffff90911681526020016101f3565b6101e961025a36600461179e565b60046020526000908152604090205481565b61027f61027a3660046117b8565b6105ef565b604080516001600160c01b03909316835267ffffffffffffffff9091166020830152016101f3565b6101e96a0422ca8b0a00a42500000081565b6101e968056bc75e2d6310000081565b61020f610639565b61020f6102df3660046118d6565b6106ea565b6101e96102f23660046118d6565b60026020526000908152604090205481565b61020f6103123660046118b4565b610824565b6000546040516001600160a01b0390911681526020016101f3565b6101e960015481565b60005461023990600160c01b900461ffff1681565b6102396105dc81565b61020f6103673660046118d6565b6108e8565b6101e961037a36600461179e565b610945565b60005461023990600160b01b900461ffff1681565b61020f6103a2366004611893565b610a06565b6000546103be90600160d01b900463ffffffff1681565b60405163ffffffff90911681526020016101f3565b6103e66103e13660046117e1565b610b10565b60405190151581526020016101f3565b61020f6104043660046117e1565b610bbc565b61020f6104173660046118b4565b610d9b565b6103be6301e1338081565b61020f61043536600461179e565b610e5f565b61020f6104483660046117b8565b610f9d565b61020f61045b3660046118b4565b6112b8565b6000546001600160a01b031633146104bf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600080547fffff00000000ffffffffffffffffffffffffffffffffffffffffffffffffffff16600160d01b63ffffffff8416908102919091179091556040519081527f253e07672aca4af7c7582d521cef5226f8f0aea8b4d270f49121e85a36713b2f906020015b60405180910390a150565b6000816001600160a01b03811661058b5760405162461bcd60e51b815260206004820152600c60248201527f5a65726f2061646472657373000000000000000000000000000000000000000060448201526064016104b6565b6001600160a01b03831660009081526003602052604090205468056bc75e2d631000008110156105bf5760009250506105e9565b6a0422ca8b0a00a4250000008111156105e6576a0422ca8b0a00a4250000009250506105e9565b91505b50919050565b6005602052816000526040600020818154811061060b57600080fd5b6000918252602090912001546001600160c01b0381169250600160c01b900467ffffffffffffffff16905082565b6000546001600160a01b031633146106935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000811180156107095750336000908152600360205260409020548111155b6107465760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016104b6565b33600090815260056020908152604080832081518083019092526001600160c01b03851682529254909182019061078a90600160d01b900463ffffffff1642611961565b67ffffffffffffffff908116909152825460018101845560009384526020808520845194820151909316600160c01b026001600160c01b0390941693909317910155338252600390526040812080548392906107e7908490611979565b909155505060405181815233907ff7774b688d56120b783560a913ee60792a73dfd511812b7be5eccf10d08c66899060200160405180910390a250565b6000546001600160a01b0316331461087e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b600080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff16600160a01b61ffff8416908102919091179091556040519081527f03522df7d9e5ed1dab1d30137282e9c11d4658732db682610343c9d580b95c2690602001610527565b3360009081526003602052604081208054839290610907908490611961565b9091555061094290506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308461137c565b50565b6001600160a01b03811660009081526005602052604081208054829190825b818110156109fc57600083828154811061098e57634e487b7160e01b600052603260045260246000fd5b6000918252602091829020604080518082019091529101546001600160c01b0381168252600160c01b900467ffffffffffffffff16918101829052915042106109e95780516109e6906001600160c01b031686611961565b94505b50806109f4816119d3565b915050610964565b5091949350505050565b6000546001600160a01b03163314610a605760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b80600154108015610a7057504381105b610abc5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626c6f636b206e756d62657200000000000000000000000060448201526064016104b6565b600181905560008181526002602090815260409182902084905581518481529081018390527ff9443a8c8ce8cb7bee33999ea495dd8a7d58561562af63f686750774a190af16910160405180910390a15050565b6040516bffffffffffffffffffffffff19606087811b821660208401526034830187905246605484015230901b166074820152600090819060880160408051601f19818403018152828252805160209182012060008981526002835283902054878302808601840190945287855290945092610bb09284928692918a918a91829185019084908082843760009201919091525092949392505061141a9050565b98975050505050505050565b610bc98585858585610b10565b610c155760405162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f660000000000000000000000000000000000000060448201526064016104b6565b6001600160a01b03851660009081526004602052604090205480851015610c7e5760405162461bcd60e51b815260206004820152600c60248201527f416c72656164792070616964000000000000000000000000000000000000000060448201526064016104b6565b6000610c8a8287611979565b905080610c98575050610d94565b6001600160a01b038781166000818152600460208190526040918290208a905590516361d9ad3f60e11b81527f00000000000000000000000000000000000000000000000000000000000000008416918101919091526024810191909152604481018390527f00000000000000000000000000000000000000000000000000000000000000009091169063c3b35a7e90606401600060405180830381600087803b158015610d4557600080fd5b505af1158015610d59573d6000803e3d6000fd5b50506040516001600160a01b038a1692507f5aeb8e5fdcf55ce4b64c6a9e24f44462efb9a71cf5cf098bf3195f272d668d8a9150600090a250505b5050505050565b6000546001600160a01b03163314610df55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b600080547fffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffff16600160c01b61ffff8416908102919091179091556040519081527f955b5a8653ac7843ed12e0d15f368d8cb9e44f642095a76b4e9aa0a2c662665190602001610527565b6000546001600160a01b03163314610eb95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b6001600160a01b038116610f355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104b6565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b610fa682610945565b811115610fe65760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016104b6565b6001600160a01b0382166000908152600560205260408120805490918391819061101290600190611979565b90505b6000831180156110255750808211155b1561123957600084838154811061104c57634e487b7160e01b600052603260045260246000fd5b6000918252602091829020604080518082019091529101546001600160c01b0381168252600160c01b900467ffffffffffffffff1691810182905291504210156110a3578261109a816119d3565b93505050611015565b80516001600160c01b031684101561112b5780516110cb9085906001600160c01b0316611979565b8584815481106110eb57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805477ffffffffffffffffffffffffffffffffffffffffffffffff19166001600160c01b039290921691909117905550611239565b8051611140906001600160c01b031685611979565b9350818310156111e95784828154811061116a57634e487b7160e01b600052603260045260246000fd5b9060005260206000200185848154811061119457634e487b7160e01b600052603260045260246000fd5b6000918252602090912082549101805477ffffffffffffffffffffffffffffffffffffffffffffffff19166001600160c01b039092169182178155915467ffffffffffffffff600160c01b9182900416021790555b8480548061120757634e487b7160e01b600052603160045260246000fd5b6000828152602081208201600019908101919091550190558115611233578161122f816119bc565b9250505b50611015565b61126d6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001687876114d9565b856001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5866040516112a891815260200190565b60405180910390a2505050505050565b6000546001600160a01b031633146113125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b600080547fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff16600160b01b61ffff8416908102919091179091556040519081527f16da2fbb78647696d451d418b5497df9da4b65e4284b519d7892b95b912deb9590602001610527565b6040516001600160a01b03808516602483015283166044820152606481018290526114149085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261150e565b50505050565b600081815b85518110156114cc57600086828151811061144a57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161148c5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506114b9565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806114c4816119d3565b91505061141f565b50831490505b9392505050565b6040516001600160a01b03831660248201526044810182905261150990849063a9059cbb60e01b906064016113b0565b505050565b6000611563826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115f39092919063ffffffff16565b80519091501561150957808060200190518101906115819190611873565b6115095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016104b6565b6060611602848460008561160a565b949350505050565b6060824710156116825760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016104b6565b843b6116d05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104b6565b600080866001600160a01b031685876040516116ec9190611912565b60006040518083038185875af1925050503d8060008114611729576040519150601f19603f3d011682016040523d82523d6000602084013e61172e565b606091505b509150915061173e828286611749565b979650505050505050565b606083156117585750816114d2565b8251156117685782518084602001fd5b8160405162461bcd60e51b81526004016104b6919061192e565b80356001600160a01b038116811461179957600080fd5b919050565b6000602082840312156117af578081fd5b6114d282611782565b600080604083850312156117ca578081fd5b6117d383611782565b946020939093013593505050565b6000806000806000608086880312156117f8578081fd5b61180186611782565b94506020860135935060408601359250606086013567ffffffffffffffff8082111561182b578283fd5b818801915088601f83011261183e578283fd5b81358181111561184c578384fd5b8960208260051b8501011115611860578384fd5b9699959850939650602001949392505050565b600060208284031215611884578081fd5b815180151581146114d2578182fd5b600080604083850312156118a5578182fd5b50508035926020909101359150565b6000602082840312156118c5578081fd5b813561ffff811681146114d2578182fd5b6000602082840312156118e7578081fd5b5035919050565b6000602082840312156118ff578081fd5b813563ffffffff811681146114d2578182fd5b60008251611924818460208701611990565b9190910192915050565b602081526000825180602084015261194d816040850160208701611990565b601f01601f19169190910160400192915050565b60008219821115611974576119746119ee565b500190565b60008282101561198b5761198b6119ee565b500390565b60005b838110156119ab578181015183820152602001611993565b838111156114145750506000910152565b6000816119cb576119cb6119ee565b506000190190565b60006000198214156119e7576119e76119ee565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220f2d92e9b28ab0e2003b3ef4806b49f0438d3dbd33ca718a84291104776c9ea8064736f6c63430008040033000000000000000000000000a8c8cfb141a3bb59fea1e2ea6b79b5ecbcd7b6ca00000000000000000000000021940fd3a12528fa0df6c31821ed517ef7323629

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80639bf87950116100f9578063ca5a278011610097578063e88dc5b711610071578063e88dc5b71461041c578063f2fde38b14610427578063f3fef3a31461043a578063fdc66e231461044d57600080fd5b8063ca5a2780146103d3578063d582b65b146103f6578063e50ed68a1461040957600080fd5b8063ba3f6bd8116100d3578063ba3f6bd81461036c578063c22693b71461037f578063c2e3e62b14610394578063c31c6fb9146103a757600080fd5b80639bf879501461033b578063a9c1f2f114610350578063b6b55f251461035957600080fd5b806359a253f3116101665780637558b6ef116101405780637558b6ef146102e4578063888a1151146103045780638da5cb5b146103175780638e59d4221461033257600080fd5b806359a253f3146102b9578063715018a6146102c9578063745400c9146102d157600080fd5b806347febfd2116101a257806347febfd2146102245780634d676fa71461024c5780634e5a23281461026c57806351ad3a0f146102a757600080fd5b806327e235e3146101c95780633b5c740a146101fc5780634262336014610211575b600080fd5b6101e96101d736600461179e565b60036020526000908152604090205481565b6040519081526020015b60405180910390f35b61020f61020a3660046118ee565b610460565b005b6101e961021f36600461179e565b610532565b60005461023990600160a01b900461ffff1681565b60405161ffff90911681526020016101f3565b6101e961025a36600461179e565b60046020526000908152604090205481565b61027f61027a3660046117b8565b6105ef565b604080516001600160c01b03909316835267ffffffffffffffff9091166020830152016101f3565b6101e96a0422ca8b0a00a42500000081565b6101e968056bc75e2d6310000081565b61020f610639565b61020f6102df3660046118d6565b6106ea565b6101e96102f23660046118d6565b60026020526000908152604090205481565b61020f6103123660046118b4565b610824565b6000546040516001600160a01b0390911681526020016101f3565b6101e960015481565b60005461023990600160c01b900461ffff1681565b6102396105dc81565b61020f6103673660046118d6565b6108e8565b6101e961037a36600461179e565b610945565b60005461023990600160b01b900461ffff1681565b61020f6103a2366004611893565b610a06565b6000546103be90600160d01b900463ffffffff1681565b60405163ffffffff90911681526020016101f3565b6103e66103e13660046117e1565b610b10565b60405190151581526020016101f3565b61020f6104043660046117e1565b610bbc565b61020f6104173660046118b4565b610d9b565b6103be6301e1338081565b61020f61043536600461179e565b610e5f565b61020f6104483660046117b8565b610f9d565b61020f61045b3660046118b4565b6112b8565b6000546001600160a01b031633146104bf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600080547fffff00000000ffffffffffffffffffffffffffffffffffffffffffffffffffff16600160d01b63ffffffff8416908102919091179091556040519081527f253e07672aca4af7c7582d521cef5226f8f0aea8b4d270f49121e85a36713b2f906020015b60405180910390a150565b6000816001600160a01b03811661058b5760405162461bcd60e51b815260206004820152600c60248201527f5a65726f2061646472657373000000000000000000000000000000000000000060448201526064016104b6565b6001600160a01b03831660009081526003602052604090205468056bc75e2d631000008110156105bf5760009250506105e9565b6a0422ca8b0a00a4250000008111156105e6576a0422ca8b0a00a4250000009250506105e9565b91505b50919050565b6005602052816000526040600020818154811061060b57600080fd5b6000918252602090912001546001600160c01b0381169250600160c01b900467ffffffffffffffff16905082565b6000546001600160a01b031633146106935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000811180156107095750336000908152600360205260409020548111155b6107465760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016104b6565b33600090815260056020908152604080832081518083019092526001600160c01b03851682529254909182019061078a90600160d01b900463ffffffff1642611961565b67ffffffffffffffff908116909152825460018101845560009384526020808520845194820151909316600160c01b026001600160c01b0390941693909317910155338252600390526040812080548392906107e7908490611979565b909155505060405181815233907ff7774b688d56120b783560a913ee60792a73dfd511812b7be5eccf10d08c66899060200160405180910390a250565b6000546001600160a01b0316331461087e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b600080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff16600160a01b61ffff8416908102919091179091556040519081527f03522df7d9e5ed1dab1d30137282e9c11d4658732db682610343c9d580b95c2690602001610527565b3360009081526003602052604081208054839290610907908490611961565b9091555061094290506001600160a01b037f000000000000000000000000a8c8cfb141a3bb59fea1e2ea6b79b5ecbcd7b6ca1633308461137c565b50565b6001600160a01b03811660009081526005602052604081208054829190825b818110156109fc57600083828154811061098e57634e487b7160e01b600052603260045260246000fd5b6000918252602091829020604080518082019091529101546001600160c01b0381168252600160c01b900467ffffffffffffffff16918101829052915042106109e95780516109e6906001600160c01b031686611961565b94505b50806109f4816119d3565b915050610964565b5091949350505050565b6000546001600160a01b03163314610a605760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b80600154108015610a7057504381105b610abc5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626c6f636b206e756d62657200000000000000000000000060448201526064016104b6565b600181905560008181526002602090815260409182902084905581518481529081018390527ff9443a8c8ce8cb7bee33999ea495dd8a7d58561562af63f686750774a190af16910160405180910390a15050565b6040516bffffffffffffffffffffffff19606087811b821660208401526034830187905246605484015230901b166074820152600090819060880160408051601f19818403018152828252805160209182012060008981526002835283902054878302808601840190945287855290945092610bb09284928692918a918a91829185019084908082843760009201919091525092949392505061141a9050565b98975050505050505050565b610bc98585858585610b10565b610c155760405162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f660000000000000000000000000000000000000060448201526064016104b6565b6001600160a01b03851660009081526004602052604090205480851015610c7e5760405162461bcd60e51b815260206004820152600c60248201527f416c72656164792070616964000000000000000000000000000000000000000060448201526064016104b6565b6000610c8a8287611979565b905080610c98575050610d94565b6001600160a01b038781166000818152600460208190526040918290208a905590516361d9ad3f60e11b81527f000000000000000000000000a8c8cfb141a3bb59fea1e2ea6b79b5ecbcd7b6ca8416918101919091526024810191909152604481018390527f00000000000000000000000021940fd3a12528fa0df6c31821ed517ef73236299091169063c3b35a7e90606401600060405180830381600087803b158015610d4557600080fd5b505af1158015610d59573d6000803e3d6000fd5b50506040516001600160a01b038a1692507f5aeb8e5fdcf55ce4b64c6a9e24f44462efb9a71cf5cf098bf3195f272d668d8a9150600090a250505b5050505050565b6000546001600160a01b03163314610df55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b600080547fffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffff16600160c01b61ffff8416908102919091179091556040519081527f955b5a8653ac7843ed12e0d15f368d8cb9e44f642095a76b4e9aa0a2c662665190602001610527565b6000546001600160a01b03163314610eb95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b6001600160a01b038116610f355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104b6565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b610fa682610945565b811115610fe65760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016104b6565b6001600160a01b0382166000908152600560205260408120805490918391819061101290600190611979565b90505b6000831180156110255750808211155b1561123957600084838154811061104c57634e487b7160e01b600052603260045260246000fd5b6000918252602091829020604080518082019091529101546001600160c01b0381168252600160c01b900467ffffffffffffffff1691810182905291504210156110a3578261109a816119d3565b93505050611015565b80516001600160c01b031684101561112b5780516110cb9085906001600160c01b0316611979565b8584815481106110eb57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805477ffffffffffffffffffffffffffffffffffffffffffffffff19166001600160c01b039290921691909117905550611239565b8051611140906001600160c01b031685611979565b9350818310156111e95784828154811061116a57634e487b7160e01b600052603260045260246000fd5b9060005260206000200185848154811061119457634e487b7160e01b600052603260045260246000fd5b6000918252602090912082549101805477ffffffffffffffffffffffffffffffffffffffffffffffff19166001600160c01b039092169182178155915467ffffffffffffffff600160c01b9182900416021790555b8480548061120757634e487b7160e01b600052603160045260246000fd5b6000828152602081208201600019908101919091550190558115611233578161122f816119bc565b9250505b50611015565b61126d6001600160a01b037f000000000000000000000000a8c8cfb141a3bb59fea1e2ea6b79b5ecbcd7b6ca1687876114d9565b856001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5866040516112a891815260200190565b60405180910390a2505050505050565b6000546001600160a01b031633146113125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b6565b600080547fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff16600160b01b61ffff8416908102919091179091556040519081527f16da2fbb78647696d451d418b5497df9da4b65e4284b519d7892b95b912deb9590602001610527565b6040516001600160a01b03808516602483015283166044820152606481018290526114149085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261150e565b50505050565b600081815b85518110156114cc57600086828151811061144a57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161148c5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506114b9565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806114c4816119d3565b91505061141f565b50831490505b9392505050565b6040516001600160a01b03831660248201526044810182905261150990849063a9059cbb60e01b906064016113b0565b505050565b6000611563826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115f39092919063ffffffff16565b80519091501561150957808060200190518101906115819190611873565b6115095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016104b6565b6060611602848460008561160a565b949350505050565b6060824710156116825760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016104b6565b843b6116d05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104b6565b600080866001600160a01b031685876040516116ec9190611912565b60006040518083038185875af1925050503d8060008114611729576040519150601f19603f3d011682016040523d82523d6000602084013e61172e565b606091505b509150915061173e828286611749565b979650505050505050565b606083156117585750816114d2565b8251156117685782518084602001fd5b8160405162461bcd60e51b81526004016104b6919061192e565b80356001600160a01b038116811461179957600080fd5b919050565b6000602082840312156117af578081fd5b6114d282611782565b600080604083850312156117ca578081fd5b6117d383611782565b946020939093013593505050565b6000806000806000608086880312156117f8578081fd5b61180186611782565b94506020860135935060408601359250606086013567ffffffffffffffff8082111561182b578283fd5b818801915088601f83011261183e578283fd5b81358181111561184c578384fd5b8960208260051b8501011115611860578384fd5b9699959850939650602001949392505050565b600060208284031215611884578081fd5b815180151581146114d2578182fd5b600080604083850312156118a5578182fd5b50508035926020909101359150565b6000602082840312156118c5578081fd5b813561ffff811681146114d2578182fd5b6000602082840312156118e7578081fd5b5035919050565b6000602082840312156118ff578081fd5b813563ffffffff811681146114d2578182fd5b60008251611924818460208701611990565b9190910192915050565b602081526000825180602084015261194d816040850160208701611990565b601f01601f19169190910160400192915050565b60008219821115611974576119746119ee565b500190565b60008282101561198b5761198b6119ee565b500390565b60005b838110156119ab578181015183820152602001611993565b838111156114145750506000910152565b6000816119cb576119cb6119ee565b506000190190565b60006000198214156119e7576119e76119ee565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220f2d92e9b28ab0e2003b3ef4806b49f0438d3dbd33ca718a84291104776c9ea8064736f6c63430008040033

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

000000000000000000000000a8c8cfb141a3bb59fea1e2ea6b79b5ecbcd7b6ca00000000000000000000000021940fd3a12528fa0df6c31821ed517ef7323629

-----Decoded View---------------
Arg [0] : _token (address): 0xa8c8CfB141A3bB59FEA1E2ea6B79b5ECBCD7b6ca
Arg [1] : _custodian (address): 0x21940FD3A12528FA0dF6C31821ed517eF7323629

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a8c8cfb141a3bb59fea1e2ea6b79b5ecbcd7b6ca
Arg [1] : 00000000000000000000000021940fd3a12528fa0df6c31821ed517ef7323629


Deployed Bytecode Sourcemap

34678:4520:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35265:43;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;5198:25:1;;;5186:2;5171:18;35265:43:0;;;;;;;;34460:139;;;;;;:::i;:::-;;:::i;:::-;;37896:255;;;;;;:::i;:::-;;:::i;33236:36::-;;;;;-1:-1:-1;;;33236:36:0;;;;;;;;;9709:6:1;9697:19;;;9679:38;;9667:2;9652:18;33236:36:0;9634:89:1;35315:50:0;;;;;;:::i;:::-;;;;;;;;;;;;;;35465:63;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;9918:63:1;;;9900:82;;10030:18;10018:31;;;10013:2;9998:18;;9991:59;9873:18;35465:63:0;9855:201:1;35023:47:0;;35058:12;35023:47;;34975:41;;35010:6;34975:41;;17514:148;;;:::i;35836:361::-;;;;;;:::i;:::-;;:::i;33471:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;33643:154;;;;;;:::i;:::-;;:::i;16863:87::-;16909:7;16936:6;16863:87;;-1:-1:-1;;;;;16936:6:0;;;4070:74:1;;4058:2;4043:18;16863:87:0;4025:125:1;33436:28:0;;;;;;33340:36;;;;;-1:-1:-1;;;33340:36:0;;;;;;35077:39;;35112:4;35077:39;;35659:169;;;;;;:::i;:::-;;:::i;36205:497::-;;;;;;:::i;:::-;;:::i;33286:39::-;;;;;-1:-1:-1;;;33286:39:0;;;;;;34129:323;;;;;;:::i;:::-;;:::i;33391:36::-;;;;;-1:-1:-1;;;33391:36:0;;;;;;;;;10417:10:1;10405:23;;;10387:42;;10375:2;10360:18;33391:36:0;10342:93:1;38159:385:0;;;;;;:::i;:::-;;:::i;:::-;;;5025:14:1;;5018:22;5000:41;;4988:2;4973:18;38159:385:0;4955:92:1;38552:643:0;;;;;;:::i;:::-;;:::i;33973:148::-;;;;;;:::i;:::-;;:::i;35128:46::-;;35166:8;35128:46;;17817:244;;;;;;:::i;:::-;;:::i;36710:1178::-;;;;;;:::i;:::-;;:::i;33805:160::-;;;;;;:::i;:::-;;:::i;34460:139::-;16909:7;16936:6;-1:-1:-1;;;;;16936:6:0;15495:10;17083:23;17075:68;;;;-1:-1:-1;;;17075:68:0;;7916:2:1;17075:68:0;;;7898:21:1;;;7935:18;;;7928:30;7994:34;7974:18;;;7967:62;8046:18;;17075:68:0;;;;;;;;;34529:13:::1;:20:::0;;;::::1;-1:-1:-1::0;;;34529:20:0::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;34565:26:::1;::::0;10387:42:1;;;34565:26:0::1;::::0;10375:2:1;10360:18;34565:26:0::1;;;;;;;;34460:139:::0;:::o;37896:255::-;37969:7;37954:4;-1:-1:-1;;;;;33580:18:0;;33572:43;;;;-1:-1:-1;;;33572:43:0;;7168:2:1;33572:43:0;;;7150:21:1;7207:2;7187:18;;;7180:30;7246:14;7226:18;;;7219:42;7278:18;;33572:43:0;7140:162:1;33572:43:0;-1:-1:-1;;;;;38007:14:0;::::1;37989:15;38007:14:::0;;;:8:::1;:14;::::0;;;;;35010:6:::1;38038:18:::0;::::1;38034:32;;;38065:1;38058:8;;;;;38034:32;35058:12;38081:7;:18;38077:39;;;35058:12;38101:15;;;;;38077:39;38136:7:::0;-1:-1:-1;33626:1:0::1;37896:255:::0;;;;:::o;35465:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35465:63:0;;;-1:-1:-1;;;;35465:63:0;;;;;-1:-1:-1;35465:63:0;:::o;17514:148::-;16909:7;16936:6;-1:-1:-1;;;;;16936:6:0;15495:10;17083:23;17075:68;;;;-1:-1:-1;;;17075:68:0;;7916:2:1;17075:68:0;;;7898:21:1;;;7935:18;;;7928:30;7994:34;7974:18;;;7967:62;8046:18;;17075:68:0;7888:182:1;17075:68:0;17621:1:::1;17605:6:::0;;17584:40:::1;::::0;-1:-1:-1;;;;;17605:6:0;;::::1;::::0;17584:40:::1;::::0;17621:1;;17584:40:::1;17652:1;17635:19:::0;;-1:-1:-1;;17635:19:0::1;::::0;;17514:148::o;35836:361::-;35914:1;35905:6;:10;:44;;;;-1:-1:-1;35938:10:0;35929:20;;;;:8;:20;;;;;;35919:30;;;35905:44;35897:71;;;;-1:-1:-1;;;35897:71:0;;6484:2:1;35897:71:0;;;6466:21:1;6523:2;6503:18;;;6496:30;-1:-1:-1;;;6542:18:1;;;6535:44;6596:18;;35897:71:0;6456:164:1;35897:71:0;36000:10;35981:30;;;;:18;:30;;;;;;;;36017:73;;;;;;;;-1:-1:-1;;;;;36017:73:0;;;;36075:13;;36017:73;;;;;36057:31;;-1:-1:-1;;;36075:13:0;;;;36057:15;:31;:::i;:::-;36017:73;;;;;;;35981:110;;;;;;;-1:-1:-1;35981:110:0;;;;;;;;;;;;;;;;-1:-1:-1;;;35981:110:0;-1:-1:-1;;;;;35981:110:0;;;;;;;;;;36113:10;36104:20;;:8;:20;;;;;:30;;36128:6;;-1:-1:-1;36104:30:0;;36128:6;;36104:30;:::i;:::-;;;;-1:-1:-1;;36152:37:0;;5198:25:1;;;36170:10:0;;36152:37;;5186:2:1;5171:18;36152:37:0;;;;;;;35836:361;:::o;33643:154::-;16909:7;16936:6;-1:-1:-1;;;;;16936:6:0;15495:10;17083:23;17075:68;;;;-1:-1:-1;;;17075:68:0;;7916:2:1;17075:68:0;;;7898:21:1;;;7935:18;;;7928:30;7994:34;7974:18;;;7967:62;8046:18;;17075:68:0;7888:182:1;17075:68:0;33717:17:::1;:25:::0;;;::::1;-1:-1:-1::0;;;33717:25:0::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;33758:31:::1;::::0;9679:38:1;;;33758:31:0::1;::::0;9667:2:1;9652:18;33758:31:0::1;9634:89:1::0;35659:169:0;35721:10;35712:20;;;;:8;:20;;;;;:30;;35736:6;;35712:20;:30;;35736:6;;35712:30;:::i;:::-;;;;-1:-1:-1;35755:65:0;;-1:-1:-1;;;;;;35762:5:0;35755:30;35786:10;35806:4;35813:6;35755:30;:65::i;:::-;35659:169;:::o;36205:497::-;-1:-1:-1;;;;;36363:31:0;;36274:7;36363:31;;;:18;:31;;;;;36417:22;;36274:7;;36363:31;36274:7;36450:221;36470:1;36466;:5;36450:221;;;36493:30;36526:15;36542:1;36526:18;;;;;;-1:-1:-1;;;36526:18:0;;;;;;;;;;;;;;;;;;36493:51;;;;;;;;;36526:18;;36493:51;-1:-1:-1;;;;;36493:51:0;;;;-1:-1:-1;;;36493:51:0;;;;;;;;;;;-1:-1:-1;36584:15:0;-1:-1:-1;36559:101:0;;36630:14;;36620:24;;-1:-1:-1;;;;;36620:24:0;;;:::i;:::-;;;36559:101;-1:-1:-1;36473:3:0;;;;:::i;:::-;;;;36450:221;;;-1:-1:-1;36688:6:0;;36205:497;-1:-1:-1;;;;36205:497:0:o;34129:323::-;16909:7;16936:6;-1:-1:-1;;;;;16936:6:0;15495:10;17083:23;17075:68;;;;-1:-1:-1;;;17075:68:0;;7916:2:1;17075:68:0;;;7898:21:1;;;7935:18;;;7928:30;7994:34;7974:18;;;7967:62;8046:18;;17075:68:0;7888:182:1;17075:68:0;34243:11:::1;34227:13;;:27;:57;;;;;34272:12;34258:11;:26;34227:57;34219:90;;;::::0;-1:-1:-1;;;34219:90:0;;8277:2:1;34219:90:0::1;::::0;::::1;8259:21:1::0;8316:2;8296:18;;;8289:30;8355:22;8335:18;;;8328:50;8395:18;;34219:90:0::1;8249:170:1::0;34219:90:0::1;34320:13;:27:::0;;;34358:23:::1;::::0;;;:10:::1;:23;::::0;;;;;;;;:35;;;34409;;5408:25:1;;;5449:18;;;5442:34;;;34409:35:0::1;::::0;5381:18:1;34409:35:0::1;;;;;;;34129:323:::0;;:::o;38159:385::-;38374:70;;-1:-1:-1;;3207:2:1;3203:15;;;3199:24;;38374:70:0;;;3187:37:1;3240:12;;;3233:28;;;38415:13:0;3277:12:1;;;3270:28;38438:4:0;3332:15:1;;3328:24;3314:12;;;3307:46;38332:4:0;;;;3369:13:1;;38374:70:0;;;-1:-1:-1;;38374:70:0;;;;;;;;;38364:81;;38374:70;38364:81;;;;38456:12;38471:23;;;:10;:23;;;;;;38512:12;;;;;;;;;;;;;;38364:81;;-1:-1:-1;38471:23:0;38512:24;;38471:23;;38364:81;;38374:70;38512:5;;;;;;:12;;;:5;;:12;:5;:12;;;;;;;;;-1:-1:-1;38512:12:0;;:24;;-1:-1:-1;;38512:12:0;:24;-1:-1:-1;38512:24:0:i;:::-;38505:31;38159:385;-1:-1:-1;;;;;;;;38159:385:0:o;38552:643::-;38734:56;38747:9;38758:11;38771;38784:5;;38734:12;:56::i;:::-;38726:82;;;;-1:-1:-1;;;38726:82:0;;8984:2:1;38726:82:0;;;8966:21:1;9023:2;9003:18;;;8996:30;9062:15;9042:18;;;9035:43;9095:18;;38726:82:0;8956:163:1;38726:82:0;-1:-1:-1;;;;;38843:26:0;;38819:21;38843:26;;;:15;:26;;;;;;38888:28;;;;38880:53;;;;-1:-1:-1;;;38880:53:0;;6827:2:1;38880:53:0;;;6809:21:1;6866:2;6846:18;;;6839:30;6905:14;6885:18;;;6878:42;6937:18;;38880:53:0;6799:162:1;38880:53:0;38944:14;38961:27;38975:13;38961:11;:27;:::i;:::-;38944:44;-1:-1:-1;39003:11:0;38999:24;;39016:7;;;;38999:24;-1:-1:-1;;;;;39033:26:0;;;;;;;:15;:26;;;;;;;;;:40;;;39086:57;;-1:-1:-1;;;39086:57:0;;39118:5;4436:15:1;;39086:57:0;;;4418:34:1;;;;4468:18;;;4461:43;;;;4520:18;;;4513:34;;;39096:9:0;39086:31;;;;;;4330:18:1;;39086:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39161:26:0;;-1:-1:-1;;;;;39161:26:0;;;-1:-1:-1;39161:26:0;;-1:-1:-1;39161:26:0;;;38552:643;;;;;;;;:::o;33973:148::-;16909:7;16936:6;-1:-1:-1;;;;;16936:6:0;15495:10;17083:23;17075:68;;;;-1:-1:-1;;;17075:68:0;;7916:2:1;17075:68:0;;;7898:21:1;;;7935:18;;;7928:30;7994:34;7974:18;;;7967:62;8046:18;;17075:68:0;7888:182:1;17075:68:0;34045:15:::1;:23:::0;;;::::1;-1:-1:-1::0;;;34045:23:0::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;34084:29:::1;::::0;9679:38:1;;;34084:29:0::1;::::0;9667:2:1;9652:18;34084:29:0::1;9634:89:1::0;17817:244:0;16909:7;16936:6;-1:-1:-1;;;;;16936:6:0;15495:10;17083:23;17075:68;;;;-1:-1:-1;;;17075:68:0;;7916:2:1;17075:68:0;;;7898:21:1;;;7935:18;;;7928:30;7994:34;7974:18;;;7967:62;8046:18;;17075:68:0;7888:182:1;17075:68:0;-1:-1:-1;;;;;17906:22:0;::::1;17898:73;;;::::0;-1:-1:-1;;;17898:73:0;;6077:2:1;17898:73:0::1;::::0;::::1;6059:21:1::0;6116:2;6096:18;;;6089:30;6155:34;6135:18;;;6128:62;6226:8;6206:18;;;6199:36;6252:19;;17898:73:0::1;6049:228:1::0;17898:73:0::1;18008:6;::::0;;17987:38:::1;::::0;-1:-1:-1;;;;;17987:38:0;;::::1;::::0;18008:6;::::1;::::0;17987:38:::1;::::0;::::1;18036:6;:17:::0;;-1:-1:-1;;18036:17:0::1;-1:-1:-1::0;;;;;18036:17:0;;;::::1;::::0;;;::::1;::::0;;17817:244::o;36710:1178::-;36803:30;36821:11;36803:17;:30::i;:::-;36793:6;:40;;36785:67;;;;-1:-1:-1;;;36785:67:0;;6484:2:1;36785:67:0;;;6466:21:1;6523:2;6503:18;;;6496:30;-1:-1:-1;;;6542:18:1;;;6535:44;6596:18;;36785:67:0;6456:164:1;36785:67:0;-1:-1:-1;;;;;36909:31:0;;36865:41;36909:31;;;:18;:31;;;;;37034:22;;36909:31;;36977:6;;36865:41;;37034:26;;37059:1;;37034:26;:::i;:::-;37014:46;;37071:702;37096:1;37078:15;:19;:37;;;;;37106:9;37101:1;:14;;37078:37;37071:702;;;37132:30;37165:15;37181:1;37165:18;;;;;;-1:-1:-1;;;37165:18:0;;;;;;;;;;;;;;;;;;37132:51;;;;;;;;;37165:18;;37132:51;-1:-1:-1;;;;;37132:51:0;;;;-1:-1:-1;;;37132:51:0;;;;;;;;;;;-1:-1:-1;37222:15:0;-1:-1:-1;37198:106:0;;;37258:3;;;;:::i;:::-;;;;37280:8;;;37198:106;37322:14;;-1:-1:-1;;;;;37322:32:0;;-1:-1:-1;37318:166:0;;;37411:14;;:32;;37428:15;;-1:-1:-1;;;;;37411:32:0;;:::i;:::-;37375:15;37391:1;37375:18;;;;;;-1:-1:-1;;;37375:18:0;;;;;;;;;;;;;;;;;;:69;;-1:-1:-1;;37375:69:0;-1:-1:-1;;;;;37375:69:0;;;;;;;;;;-1:-1:-1;37463:5:0;;37318:166;37517:14;;37498:33;;-1:-1:-1;;;;;37498:33:0;;;:::i;:::-;;;37554:9;37550:1;:13;37546:101;;;37605:15;37621:9;37605:26;;;;;;-1:-1:-1;;;37605:26:0;;;;;;;;;;;;;;;;37584:15;37600:1;37584:18;;;;;;-1:-1:-1;;;37584:18:0;;;;;;;;;;;;;;;;;:47;;:18;;:47;;-1:-1:-1;;37584:47:0;-1:-1:-1;;;;;37584:47:0;;;;;;;;;;;-1:-1:-1;;;37584:47:0;;;;;;;;;37546:101;37661:15;:21;;;;;-1:-1:-1;;;37661:21:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;37661:21:0;;;;;;;;;;37701:13;;37697:65;;37735:11;;;;:::i;:::-;;;;37697:65;37071:702;;;;37785:47;-1:-1:-1;;;;;37792:5:0;37785:26;37812:11;37825:6;37785:26;:47::i;:::-;37860:11;-1:-1:-1;;;;;37850:30:0;;37873:6;37850:30;;;;5198:25:1;;5186:2;5171:18;;5153:76;37850:30:0;;;;;;;;36710:1178;;;;;;:::o;33805:160::-;16909:7;16936:6;-1:-1:-1;;;;;16936:6:0;15495:10;17083:23;17075:68;;;;-1:-1:-1;;;17075:68:0;;7916:2:1;17075:68:0;;;7898:21:1;;;7935:18;;;7928:30;7994:34;7974:18;;;7967:62;8046:18;;17075:68:0;7888:182:1;17075:68:0;33881:19:::1;:27:::0;;;::::1;-1:-1:-1::0;;;33881:27:0::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;33924:33:::1;::::0;9679:38:1;;;33924:33:0::1;::::0;9667:2:1;9652:18;33924:33:0::1;9634:89:1::0;11768:205:0;11896:68;;-1:-1:-1;;;;;4436:15:1;;;11896:68:0;;;4418:34:1;4488:15;;4468:18;;;4461:43;4520:18;;;4513:34;;;11869:96:0;;11889:5;;-1:-1:-1;;;11919:27:0;4330:18:1;;11896:68:0;;;;-1:-1:-1;;11896:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;11869:19;:96::i;:::-;11768:205;;;;:::o;31999:796::-;32090:4;32130;32090;32147:525;32171:5;:12;32167:1;:16;32147:525;;;32205:20;32228:5;32234:1;32228:8;;;;;;-1:-1:-1;;;32228:8:0;;;;;;;;;;;;;;;32205:31;;32273:12;32257;:28;32253:408;;32410:44;;;;;;3550:19:1;;;3585:12;;;3578:28;;;3622:12;;32410:44:0;;;;;;;;;;;;32400:55;;;;;;32385:70;;32253:408;;;32600:44;;;;;;3550:19:1;;;3585:12;;;3578:28;;;3622:12;;32600:44:0;;;;;;;;;;;;32590:55;;;;;;32575:70;;32253:408;-1:-1:-1;32185:3:0;;;;:::i;:::-;;;;32147:525;;;-1:-1:-1;32767:20:0;;;-1:-1:-1;31999:796:0;;;;;;:::o;11583:177::-;11693:58;;-1:-1:-1;;;;;4750:55:1;;11693:58:0;;;4732:74:1;4822:18;;;4815:34;;;11666:86:0;;11686:5;;-1:-1:-1;;;11716:23:0;4705:18:1;;11693:58:0;4687:168:1;11666:86:0;11583:177;;;:::o;14017:761::-;14441:23;14467:69;14495:4;14467:69;;;;;;;;;;;;;;;;;14475:5;-1:-1:-1;;;;;14467:27:0;;;:69;;;;;:::i;:::-;14551:17;;14441:95;;-1:-1:-1;14551:21:0;14547:224;;14693:10;14682:30;;;;;;;;;;;;:::i;:::-;14674:85;;;;-1:-1:-1;;;14674:85:0;;9326:2:1;14674:85:0;;;9308:21:1;9365:2;9345:18;;;9338:30;9404:34;9384:18;;;9377:62;9475:12;9455:18;;;9448:40;9505:19;;14674:85:0;9298:232:1;6609:195:0;6712:12;6744:52;6766:6;6774:4;6780:1;6783:12;6744:21;:52::i;:::-;6737:59;6609:195;-1:-1:-1;;;;6609:195:0:o;7661:530::-;7788:12;7846:5;7821:21;:30;;7813:81;;;;-1:-1:-1;;;7813:81:0;;7509:2:1;7813:81:0;;;7491:21:1;7548:2;7528:18;;;7521:30;7587:34;7567:18;;;7560:62;7658:8;7638:18;;;7631:36;7684:19;;7813:81:0;7481:228:1;7813:81:0;4058:20;;7905:60;;;;-1:-1:-1;;;7905:60:0;;8626:2:1;7905:60:0;;;8608:21:1;8665:2;8645:18;;;8638:30;8704:31;8684:18;;;8677:59;8753:18;;7905:60:0;8598:179:1;7905:60:0;8039:12;8053:23;8080:6;-1:-1:-1;;;;;8080:11:0;8100:5;8108:4;8080:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8038:75;;;;8131:52;8149:7;8158:10;8170:12;8131:17;:52::i;:::-;8124:59;7661:530;-1:-1:-1;;;;;;;7661:530:0:o;10201:742::-;10316:12;10345:7;10341:595;;;-1:-1:-1;10376:10:0;10369:17;;10341:595;10490:17;;:21;10486:439;;10753:10;10747:17;10814:15;10801:10;10797:2;10793:19;10786:44;10701:148;10896:12;10889:20;;-1:-1:-1;;;10889:20:0;;;;;;;;:::i;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:196::-;274:6;327:2;315:9;306:7;302:23;298:32;295:2;;;348:6;340;333:22;295:2;376:29;395:9;376:29;:::i;416:264::-;484:6;492;545:2;533:9;524:7;520:23;516:32;513:2;;;566:6;558;551:22;513:2;594:29;613:9;594:29;:::i;:::-;584:39;670:2;655:18;;;;642:32;;-1:-1:-1;;;503:177:1:o;685:876::-;798:6;806;814;822;830;883:3;871:9;862:7;858:23;854:33;851:2;;;905:6;897;890:22;851:2;933:29;952:9;933:29;:::i;:::-;923:39;;1009:2;998:9;994:18;981:32;971:42;;1060:2;1049:9;1045:18;1032:32;1022:42;;1115:2;1104:9;1100:18;1087:32;1138:18;1179:2;1171:6;1168:14;1165:2;;;1200:6;1192;1185:22;1165:2;1243:6;1232:9;1228:22;1218:32;;1288:7;1281:4;1277:2;1273:13;1269:27;1259:2;;1315:6;1307;1300:22;1259:2;1360;1347:16;1386:2;1378:6;1375:14;1372:2;;;1407:6;1399;1392:22;1372:2;1465:7;1460:2;1450:6;1447:1;1443:14;1439:2;1435:23;1431:32;1428:45;1425:2;;;1491:6;1483;1476:22;1425:2;841:720;;;;-1:-1:-1;841:720:1;;-1:-1:-1;1527:2:1;1519:11;;1549:6;841:720;-1:-1:-1;;;841:720:1:o;1566:297::-;1633:6;1686:2;1674:9;1665:7;1661:23;1657:32;1654:2;;;1707:6;1699;1692:22;1654:2;1744:9;1738:16;1797:5;1790:13;1783:21;1776:5;1773:32;1763:2;;1824:6;1816;1809:22;1868:258;1936:6;1944;1997:2;1985:9;1976:7;1972:23;1968:32;1965:2;;;2018:6;2010;2003:22;1965:2;-1:-1:-1;;2046:23:1;;;2116:2;2101:18;;;2088:32;;-1:-1:-1;1955:171:1:o;2131:292::-;2189:6;2242:2;2230:9;2221:7;2217:23;2213:32;2210:2;;;2263:6;2255;2248:22;2210:2;2307:9;2294:23;2357:6;2350:5;2346:18;2339:5;2336:29;2326:2;;2384:6;2376;2369:22;2428:190;2487:6;2540:2;2528:9;2519:7;2515:23;2511:32;2508:2;;;2561:6;2553;2546:22;2508:2;-1:-1:-1;2589:23:1;;2498:120;-1:-1:-1;2498:120:1:o;2623:296::-;2681:6;2734:2;2722:9;2713:7;2709:23;2705:32;2702:2;;;2755:6;2747;2740:22;2702:2;2799:9;2786:23;2849:10;2842:5;2838:22;2831:5;2828:33;2818:2;;2880:6;2872;2865:22;3645:274;3774:3;3812:6;3806:13;3828:53;3874:6;3869:3;3862:4;3854:6;3850:17;3828:53;:::i;:::-;3897:16;;;;;3782:137;-1:-1:-1;;3782:137:1:o;5487:383::-;5636:2;5625:9;5618:21;5599:4;5668:6;5662:13;5711:6;5706:2;5695:9;5691:18;5684:34;5727:66;5786:6;5781:2;5770:9;5766:18;5761:2;5753:6;5749:15;5727:66;:::i;:::-;5854:2;5833:15;-1:-1:-1;;5829:29:1;5814:45;;;;5861:2;5810:54;;5608:262;-1:-1:-1;;5608:262:1:o;10440:128::-;10480:3;10511:1;10507:6;10504:1;10501:13;10498:2;;;10517:18;;:::i;:::-;-1:-1:-1;10553:9:1;;10488:80::o;10573:125::-;10613:4;10641:1;10638;10635:8;10632:2;;;10646:18;;:::i;:::-;-1:-1:-1;10683:9:1;;10622:76::o;10703:258::-;10775:1;10785:113;10799:6;10796:1;10793:13;10785:113;;;10875:11;;;10869:18;10856:11;;;10849:39;10821:2;10814:10;10785:113;;;10916:6;10913:1;10910:13;10907:2;;;-1:-1:-1;;10951:1:1;10933:16;;10926:27;10756:205::o;10966:136::-;11005:3;11033:5;11023:2;;11042:18;;:::i;:::-;-1:-1:-1;;;11078:18:1;;11013:89::o;11107:135::-;11146:3;-1:-1:-1;;11167:17:1;;11164:2;;;11187:18;;:::i;:::-;-1:-1:-1;11234:1:1;11223:13;;11154:88::o;11247:127::-;11308:10;11303:3;11299:20;11296:1;11289:31;11339:4;11336:1;11329:15;11363:4;11360:1;11353:15

Swarm Source

ipfs://f2d92e9b28ab0e2003b3ef4806b49f0438d3dbd33ca718a84291104776c9ea80

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  ]
[ 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.