ETH Price: $3,582.80 (-3.02%)

Contract

0xA6ca8c90C020bcbc870CAd0DAE048B4dB35c543F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer151200072022-07-11 7:27:45875 days ago1657524465IN
0xA6ca8c90...dB35c543F
1.176975 ETH0.0003374414.9412477
Transfer149661342022-06-15 6:44:37901 days ago1655275477IN
0xA6ca8c90...dB35c543F
2.75900152 ETH0.0007380932.68067934
Transfer149205392022-06-07 11:19:53909 days ago1654600793IN
0xA6ca8c90...dB35c543F
2.087745 ETH0.0005830225.81480408
Transfer148898182022-06-02 7:59:38914 days ago1654156778IN
0xA6ca8c90...dB35c543F
12.35329423 ETH0.001313958.1760093
Transfer148359152022-05-24 13:04:35922 days ago1653397475IN
0xA6ca8c90...dB35c543F
59.89554093 ETH0.0008808139
VIEW ADVANCED FILTER

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
161712202022-12-12 21:10:47720 days ago1670879447
0xA6ca8c90...dB35c543F
0.016875 ETH
161712202022-12-12 21:10:47720 days ago1670879447
0xA6ca8c90...dB35c543F
0.016875 ETH
158023662022-10-22 8:11:23772 days ago1666426283
0xA6ca8c90...dB35c543F
0.03375 ETH
157633052022-10-16 21:17:23777 days ago1665955043
0xA6ca8c90...dB35c543F
2.82912337 ETH
157633052022-10-16 21:17:23777 days ago1665955043
0xA6ca8c90...dB35c543F
2.82912337 ETH
157618592022-10-16 16:26:23777 days ago1665937583
0xA6ca8c90...dB35c543F
0.0337425 ETH
157617042022-10-16 15:55:11777 days ago1665935711
0xA6ca8c90...dB35c543F
0.03374175 ETH
157599622022-10-16 10:04:47778 days ago1665914687
0xA6ca8c90...dB35c543F
0.0314565 ETH
157512632022-10-15 4:55:47779 days ago1665809747
0xA6ca8c90...dB35c543F
0.03075 ETH
157408152022-10-13 17:54:23780 days ago1665683663
0xA6ca8c90...dB35c543F
0.03285 ETH
157336102022-10-12 17:46:35781 days ago1665596795
0xA6ca8c90...dB35c543F
0.03225 ETH
157088942022-10-09 6:57:35785 days ago1665298655
0xA6ca8c90...dB35c543F
0.03975 ETH
157053342022-10-08 19:02:47785 days ago1665255767
0xA6ca8c90...dB35c543F
0.0381 ETH
157005832022-10-08 3:08:11786 days ago1665198491
0xA6ca8c90...dB35c543F
0.035925 ETH
156989002022-10-07 21:30:35786 days ago1665178235
0xA6ca8c90...dB35c543F
0.035925 ETH
156988962022-10-07 21:29:47786 days ago1665178187
0xA6ca8c90...dB35c543F
0.03975 ETH
156988262022-10-07 21:15:35786 days ago1665177335
0xA6ca8c90...dB35c543F
0.042 ETH
156987672022-10-07 21:03:35786 days ago1665176615
0xA6ca8c90...dB35c543F
0.041625 ETH
156978752022-10-07 18:04:11786 days ago1665165851
0xA6ca8c90...dB35c543F
0.041625 ETH
156974762022-10-07 16:42:47786 days ago1665160967
0xA6ca8c90...dB35c543F
0.03825 ETH
156926532022-10-07 0:30:35787 days ago1665102635
0xA6ca8c90...dB35c543F
0.03825 ETH
156918612022-10-06 21:51:35787 days ago1665093095
0xA6ca8c90...dB35c543F
0.036675 ETH
156866162022-10-06 4:15:59788 days ago1665029759
0xA6ca8c90...dB35c543F
0.03675 ETH
156855682022-10-06 0:45:11788 days ago1665017111
0xA6ca8c90...dB35c543F
0.0366 ETH
156855372022-10-06 0:38:59788 days ago1665016739
0xA6ca8c90...dB35c543F
0.042675 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KithSplitter

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : KithSplitter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/**

   8 888888888o.      ,o888888o.        ,o888888o.
   8 8888    `88.    8888     `88.     8888     `88.
   8 8888     `88 ,8 8888       `8. ,8 8888       `8.
   8 8888     ,88 88 8888           88 8888
   8 8888.   ,88' 88 8888           88 8888
   8 888888888P'  88 8888           88 8888
   8 8888`8b      88 8888           88 8888
   8 8888 `8b.    `8 8888       .8' `8 8888       .8'
   8 8888   `8b.     8888     ,88'     8888     ,88'
   8 8888     `88.    `8888888P'        `8888888P'

*/

import "@mikker/contracts/contracts/Splitter.sol";

contract KithSplitter is Splitter {
  constructor(
    address[] memory payees,
    uint256[] memory shares,
    address wethAddress
  ) Splitter(payees, shares, wethAddress) {}
}

File 2 of 12 : Splitter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/*

        ████████████
      ██            ██
    ██              ██▓▓
    ██            ████▓▓▓▓▓▓
    ██      ██████▓▓▒▒▓▓▓▓▓▓▓▓
    ████████▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒
    ██    ████████▓▓▒▒▒▒▒▒▒▒▒▒
    ██            ██▓▓▒▒▒▒▒▒▒▒
    ██              ██▓▓▓▓▓▓▓▓
    ██    ██      ██    ██       '||''|.                    ||           '||
    ██                  ██        ||   ||  ... ..   ....   ...  .. ...    || ...    ...   ... ... ...
      ██              ██          ||'''|.   ||' '' '' .||   ||   ||  ||   ||'  || .|  '|.  ||  ||  |
        ██          ██            ||    ||  ||     .|' ||   ||   ||  ||   ||    | ||   ||   ||| |||
          ██████████             .||...|'  .||.    '|..'|' .||. .||. ||.  '|...'   '|..|'    |   |

*/

import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

/**
 * @dev An opinionated implementation of a general purpose PaymentSplitter.
 * Rather than letting each payee pull their funds on their own, a few convenience functions
 * let the owner flush all funds, Ether and Wrapped Ether, in one transaction.
 */
contract Splitter is PaymentSplitter, AccessControl {
  bytes32 public constant FLUSHWORTHY = keccak256("FLUSHWORTHY");

  address[] private _payees;

  IERC20 weth;

  constructor(
    address[] memory payees,
    uint256[] memory _shares,
    address _wethAddr
  ) PaymentSplitter(payees, _shares) {
    _payees = payees;

    _grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
    _grantRole(FLUSHWORTHY, _msgSender());

    for (uint256 i = 0; i < payees.length; i++) {
      _grantRole(FLUSHWORTHY, payees[i]);
    }

    weth = IERC20(_wethAddr);
  }

  function flush() public onlyRole(FLUSHWORTHY) {
    uint256 length = _payees.length;

    for (uint256 i = 0; i < length; i++) {
      address payee = _payees[i];
      release(payable(payee));
    }
  }

  function flushToken(IERC20 token) public onlyRole(FLUSHWORTHY) {
    uint256 length = _payees.length;

    for (uint256 i = 0; i < length; i++) {
      address payee = _payees[i];
      release(token, payable(payee));
    }
  }

  function flushCommon() public onlyRole(FLUSHWORTHY) {
    uint256 length = _payees.length;
    bool hasWeth = weth.balanceOf(address(this)) > 0;

    for (uint256 i = 0; i < length; i++) {
      address payable payee = payable(_payees[i]);
      release(payable(payee));
      if (hasWeth) release(weth, payable(payee));
    }
  }
}

File 3 of 12 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 4 of 12 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @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'
        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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 6 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

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

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

File 8 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 9 of 12 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200,
    "details": {
      "yul": false
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"},{"internalType":"address","name":"wethAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FLUSHWORTHY","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flush","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flushCommon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"flushToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200203e3803806200203e83398101604081905262000034916200061f565b82828282828051825114620000665760405162461bcd60e51b81526004016200005d9062000700565b60405180910390fd5b60008251116200008a5760405162461bcd60e51b81526004016200005d9062000749565b60005b8251811015620000f657620000e1838281518110620000b057620000b06200075b565b6020026020010151838381518110620000cd57620000cd6200075b565b6020026020010151620001c360201b60201c565b80620000ed8162000787565b9150506200008d565b505083516200010e91506008906020860190620003ab565b506200011c600033620002f3565b620001376000805160206200201e83398151915233620002f3565b60005b83518110156200019657620001816000805160206200201e8339815191528583815181106200016d576200016d6200075b565b6020026020010151620002f360201b60201c565b806200018d8162000787565b9150506200013a565b50600980546001600160a01b0319166001600160a01b039290921691909117905550620008fc9350505050565b6001600160a01b038216620001ec5760405162461bcd60e51b81526004016200005d90620007ef565b600081116200020f5760405162461bcd60e51b81526004016200005d9062000836565b6001600160a01b03821660009081526002602052604090205415620002485760405162461bcd60e51b81526004016200005d9062000891565b60048054600181019091557f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b038416908117909155600090815260026020526040812082905554620002b0908290620008a3565b6000556040517f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac90620002e79084908490620008d6565b60405180910390a15050565b620002ff82826200037e565b6200037a5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003393390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b82805482825590600052602060002090810192821562000403579160200282015b828111156200040357825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620003cc565b506200041192915062000415565b5090565b5b8082111562000411576000815560010162000416565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b03821117156200046a576200046a6200042c565b6040525050565b60006200047d60405190565b90506200048b828262000442565b919050565b60006001600160401b03821115620004ac57620004ac6200042c565b5060209081020190565b60006001600160a01b038216620003a5565b620004d381620004b6565b8114620004df57600080fd5b50565b8051620003a581620004c8565b600062000506620005008462000490565b62000471565b83815290506020808201908402830185811115620005275762000527600080fd5b835b818110156200054f57806200053f8882620004e2565b8452506020928301920162000529565b5050509392505050565b600082601f8301126200056f576200056f600080fd5b815162000581848260208601620004ef565b949350505050565b80620004d3565b8051620003a58162000589565b6000620005ae620005008462000490565b83815290506020808201908402830185811115620005cf57620005cf600080fd5b835b818110156200054f5780620005e7888262000590565b84525060209283019201620005d1565b600082601f8301126200060d576200060d600080fd5b8151620005818482602086016200059d565b600080600060608486031215620006395762000639600080fd5b83516001600160401b03811115620006545762000654600080fd5b620006628682870162000559565b93505060208401516001600160401b03811115620006835762000683600080fd5b6200069186828701620005f7565b9250506040620006a486828701620004e2565b9150509250925092565b603281526000602082017f5061796d656e7453706c69747465723a2070617965657320616e6420736861728152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b602082015291505b5060400190565b60208082528101620003a581620006ae565b601a81526000602082017f5061796d656e7453706c69747465723a206e6f20706179656573000000000000815291505b5060200190565b60208082528101620003a58162000712565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156200079e576200079e62000771565b5060010190565b602c81526000602082017f5061796d656e7453706c69747465723a206163636f756e74206973207468652081526b7a65726f206164647265737360a01b60208201529150620006f9565b60208082528101620003a581620007a5565b601d81526000602082017f5061796d656e7453706c69747465723a207368617265732061726520300000008152915062000742565b60208082528101620003a58162000801565b602b81526000602082017f5061796d656e7453706c69747465723a206163636f756e7420616c726561647981526a206861732073686172657360a81b60208201529150620006f9565b60208082528101620003a58162000848565b60008219821115620008b957620008b962000771565b500190565b620008c981620004b6565b82525050565b80620008c9565b60408101620008e68285620008be565b620008f56020830184620008cf565b9392505050565b611712806200090c6000396000f3fe6080604052600436106101235760003560e01c80636b9f96ea116100a0578063a217fddf11610064578063a217fddf146103a7578063ce7c2ac2146103bc578063d547741f146103f2578063d79779b214610412578063e33b7de31461044857600080fd5b80636b9f96ea146102ef5780638b83209b1461030457806391d14854146103315780639852595c146103515780639cee789f1461038757600080fd5b806336568abe116100e757806336568abe146102325780633a98ef3914610252578063406072a91461026757806348b75044146102ad57806361bba472146102cd57600080fd5b806301ffc9a714610168578063191655871461019e578063248a9ca3146101c057806328d7753e146101fd5780632f2ff15d1461021257600080fd5b36610163577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770333460405161015992919061101b565b60405180910390a1005b600080fd5b34801561017457600080fd5b50610188610183366004611058565b61045d565b6040516101959190611089565b60405180910390f35b3480156101aa57600080fd5b506101be6101b93660046110ab565b610494565b005b3480156101cc57600080fd5b506101f06101db3660046110dd565b60009081526007602052604090206001015490565b60405161019591906110fe565b34801561020957600080fd5b506101be6105c2565b34801561021e57600080fd5b506101be61022d36600461110c565b6106da565b34801561023e57600080fd5b506101be61024d36600461110c565b610704565b34801561025e57600080fd5b506000546101f0565b34801561027357600080fd5b506101f0610282366004611168565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156102b957600080fd5b506101be6102c8366004611168565b61073a565b3480156102d957600080fd5b506101f06000805160206116bd83398151915281565b3480156102fb57600080fd5b506101be610924565b34801561031057600080fd5b5061032461031f3660046110dd565b610992565b604051610195919061118a565b34801561033d57600080fd5b5061018861034c36600461110c565b6109c2565b34801561035d57600080fd5b506101f061036c3660046110ab565b6001600160a01b031660009081526003602052604090205490565b34801561039357600080fd5b506101be6103a2366004611198565b6109ed565b3480156103b357600080fd5b506101f0600081565b3480156103c857600080fd5b506101f06103d73660046110ab565b6001600160a01b031660009081526002602052604090205490565b3480156103fe57600080fd5b506101be61040d36600461110c565b610a5c565b34801561041e57600080fd5b506101f061042d366004611198565b6001600160a01b031660009081526005602052604090205490565b34801561045457600080fd5b506001546101f0565b60006001600160e01b03198216637965db0b60e01b148061048e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6001600160a01b0381166000908152600260205260409020546104d25760405162461bcd60e51b81526004016104c9906111ff565b60405180910390fd5b60006104dd60015490565b6104e79047611225565b90506000610514838361050f866001600160a01b031660009081526003602052604090205490565b610a81565b9050806105335760405162461bcd60e51b81526004016104c990611285565b6001600160a01b0383166000908152600360205260408120805483929061055b908490611225565b9250508190555080600160008282546105749190611225565b9091555061058490508382610ac6565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516105b59291906112a9565b60405180910390a1505050565b6000805160206116bd8339815191526105da81610b62565b6008546009546040516370a0823160e01b815260009182916001600160a01b03909116906370a082319061061290309060040161118a565b60206040518083038186803b15801561062a57600080fd5b505afa15801561063e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066291906112c2565b11905060005b828110156106d457600060088281548110610685576106856112e3565b6000918252602090912001546001600160a01b031690506106a581610494565b82156106c1576009546106c1906001600160a01b03168261073a565b50806106cc816112f9565b915050610668565b50505050565b6000828152600760205260409020600101546106f581610b62565b6106ff8383610b6f565b505050565b6001600160a01b038116331461072c5760405162461bcd60e51b81526004016104c990611360565b6107368282610bf5565b5050565b6001600160a01b03811660009081526002602052604090205461076f5760405162461bcd60e51b81526004016104c9906111ff565b6001600160a01b0382166000908152600560205260408120546040516370a0823160e01b81526001600160a01b038516906370a08231906107b490309060040161118a565b60206040518083038186803b1580156107cc57600080fd5b505afa1580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080491906112c2565b61080e9190611225565b90506000610847838361050f87876001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b9050806108665760405162461bcd60e51b81526004016104c990611285565b6001600160a01b0380851660009081526006602090815260408083209387168352929052908120805483929061089d908490611225565b90915550506001600160a01b038416600090815260056020526040812080548392906108ca908490611225565b909155506108db9050848483610c5c565b836001600160a01b03167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161091692919061101b565b60405180910390a250505050565b6000805160206116bd83398151915261093c81610b62565b60085460005b818110156106ff5760006008828154811061095f5761095f6112e3565b6000918252602090912001546001600160a01b0316905061097f81610494565b508061098a816112f9565b915050610942565b6000600482815481106109a7576109a76112e3565b6000918252602090912001546001600160a01b031692915050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206116bd833981519152610a0581610b62565b60085460005b818110156106d457600060088281548110610a2857610a286112e3565b6000918252602090912001546001600160a01b03169050610a49858261073a565b5080610a54816112f9565b915050610a0b565b600082815260076020526040902060010154610a7781610b62565b6106ff8383610bf5565b600080546001600160a01b038516825260026020526040822054839190610aa89086611370565b610ab291906113a5565b610abc91906113b9565b90505b9392505050565b80471015610ae65760405162461bcd60e51b81526004016104c990611407565b6000826001600160a01b031682604051610aff90611417565b60006040518083038185875af1925050503d8060008114610b3c576040519150601f19603f3d011682016040523d82523d6000602084013e610b41565b606091505b50509050806106ff5760405162461bcd60e51b81526004016104c990611479565b610b6c8133610cb2565b50565b610b7982826109c2565b6107365760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610bb13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610bff82826109c2565b156107365760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6106ff8363a9059cbb60e01b8484604051602401610c7b92919061101b565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d16565b610cbc82826109c2565b61073657610cd4816001600160a01b03166014610da5565b610cdf836020610da5565b604051602001610cf09291906114d7565b60408051601f198184030181529082905262461bcd60e51b82526104c991600401611561565b6000610d6b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f119092919063ffffffff16565b8051909150156106ff5780806020019051810190610d899190611585565b6106ff5760405162461bcd60e51b81526004016104c9906115ed565b60606000610db4836002611370565b610dbf906002611225565b67ffffffffffffffff811115610dd757610dd76115fd565b6040519080825280601f01601f191660200182016040528015610e01576020820181803683370190505b509050600360fc1b81600081518110610e1c57610e1c6112e3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610e4b57610e4b6112e3565b60200101906001600160f81b031916908160001a9053506000610e6f846002611370565b610e7a906001611225565b90505b6001811115610ef2576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610eae57610eae6112e3565b1a60f81b828281518110610ec457610ec46112e3565b60200101906001600160f81b031916908160001a90535060049490941c93610eeb81611613565b9050610e7d565b508315610abf5760405162461bcd60e51b81526004016104c99061165c565b6060610abc8484600085856001600160a01b0385163b610f435760405162461bcd60e51b81526004016104c9906116a0565b600080866001600160a01b03168587604051610f5f91906116b0565b60006040518083038185875af1925050503d8060008114610f9c576040519150601f19603f3d011682016040523d82523d6000602084013e610fa1565b606091505b5091509150610fb1828286610fbc565b979650505050505050565b60608315610fcb575081610abf565b825115610fdb5782518084602001fd5b8160405162461bcd60e51b81526004016104c99190611561565b60006001600160a01b03821661048e565b61100f81610ff5565b82525050565b8061100f565b604081016110298285611006565b610abf6020830184611015565b6001600160e01b031981165b8114610b6c57600080fd5b803561048e81611036565b60006020828403121561106d5761106d600080fd5b6000611079848461104d565b949350505050565b80151561100f565b6020810161048e8284611081565b61104281610ff5565b803561048e81611097565b6000602082840312156110c0576110c0600080fd5b600061107984846110a0565b80611042565b803561048e816110cc565b6000602082840312156110f2576110f2600080fd5b600061107984846110d2565b6020810161048e8284611015565b6000806040838503121561112257611122600080fd5b600061112e85856110d2565b925050602061113f858286016110a0565b9150509250929050565b600061048e82610ff5565b61104281611149565b803561048e81611154565b6000806040838503121561117e5761117e600080fd5b600061112e858561115d565b6020810161048e8284611006565b6000602082840312156111ad576111ad600080fd5b6000611079848461115d565b602681526000602082017f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2081526573686172657360d01b602082015291505b5060400190565b6020808252810161048e816111b9565b634e487b7160e01b600052601160045260246000fd5b600082198211156112385761123861120f565b500190565b602b81526000602082017f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742081526a191d59481c185e5b595b9d60aa1b602082015291506111f8565b6020808252810161048e8161123d565b600061048e82611149565b61100f81611295565b6040810161102982856112a0565b805161048e816110cc565b6000602082840312156112d7576112d7600080fd5b600061107984846112b7565b634e487b7160e01b600052603260045260246000fd5b600060001982141561130d5761130d61120f565b5060010190565b602f81526000602082017f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636581526e103937b632b9903337b91039b2b63360891b602082015291506111f8565b6020808252810161048e81611314565b600081600019048311821515161561138a5761138a61120f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826113b4576113b461138f565b500490565b6000828210156113cb576113cb61120f565b500390565b601d81526000602082017f416464726573733a20696e73756666696369656e742062616c616e6365000000815291505b5060200190565b6020808252810161048e816113d0565b60008161048e565b603a81526000602082017f416464726573733a20756e61626c6520746f2073656e642076616c75652c207281527f6563697069656e74206d61792068617665207265766572746564000000000000602082015291506111f8565b6020808252810161048e8161141f565b60005b838110156114a457818101518382015260200161148c565b838111156106d45750506000910152565b60006114bf825190565b6114cd818560208601611489565b9290920192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152601701600061150982856114b5565b7001034b99036b4b9b9b4b733903937b6329607d1b8152601101915061107982846114b5565b6000611539825190565b808452602084019350611550818560208601611489565b601f01601f19169290920192915050565b60208082528101610abf818461152f565b801515611042565b805161048e81611572565b60006020828403121561159a5761159a600080fd5b6000611079848461157a565b602a81526000602082017f5361666545524332303a204552433230206f7065726174696f6e20646964206e8152691bdd081cdd58d8d9595960b21b602082015291506111f8565b6020808252810161048e816115a6565b634e487b7160e01b600052604160045260246000fd5b6000816116225761162261120f565b506000190190565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e7491019081526000611400565b6020808252810161048e8161162a565b601d81526000602082017f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081529150611400565b6020808252810161048e8161166c565b6000610abf82846114b556fefeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519ba26469706673582212202a91e235583678c4afd9a349bac74f10393f1f0d97b97b76d81b647b50d487a264736f6c63430008090033feb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e7bc3e402f11cf3a649c3c92d565915ea8a661fa000000000000000000000000d7e5e1c0cb9540669d8f22f71c9540460db23938000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x6080604052600436106101235760003560e01c80636b9f96ea116100a0578063a217fddf11610064578063a217fddf146103a7578063ce7c2ac2146103bc578063d547741f146103f2578063d79779b214610412578063e33b7de31461044857600080fd5b80636b9f96ea146102ef5780638b83209b1461030457806391d14854146103315780639852595c146103515780639cee789f1461038757600080fd5b806336568abe116100e757806336568abe146102325780633a98ef3914610252578063406072a91461026757806348b75044146102ad57806361bba472146102cd57600080fd5b806301ffc9a714610168578063191655871461019e578063248a9ca3146101c057806328d7753e146101fd5780632f2ff15d1461021257600080fd5b36610163577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770333460405161015992919061101b565b60405180910390a1005b600080fd5b34801561017457600080fd5b50610188610183366004611058565b61045d565b6040516101959190611089565b60405180910390f35b3480156101aa57600080fd5b506101be6101b93660046110ab565b610494565b005b3480156101cc57600080fd5b506101f06101db3660046110dd565b60009081526007602052604090206001015490565b60405161019591906110fe565b34801561020957600080fd5b506101be6105c2565b34801561021e57600080fd5b506101be61022d36600461110c565b6106da565b34801561023e57600080fd5b506101be61024d36600461110c565b610704565b34801561025e57600080fd5b506000546101f0565b34801561027357600080fd5b506101f0610282366004611168565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156102b957600080fd5b506101be6102c8366004611168565b61073a565b3480156102d957600080fd5b506101f06000805160206116bd83398151915281565b3480156102fb57600080fd5b506101be610924565b34801561031057600080fd5b5061032461031f3660046110dd565b610992565b604051610195919061118a565b34801561033d57600080fd5b5061018861034c36600461110c565b6109c2565b34801561035d57600080fd5b506101f061036c3660046110ab565b6001600160a01b031660009081526003602052604090205490565b34801561039357600080fd5b506101be6103a2366004611198565b6109ed565b3480156103b357600080fd5b506101f0600081565b3480156103c857600080fd5b506101f06103d73660046110ab565b6001600160a01b031660009081526002602052604090205490565b3480156103fe57600080fd5b506101be61040d36600461110c565b610a5c565b34801561041e57600080fd5b506101f061042d366004611198565b6001600160a01b031660009081526005602052604090205490565b34801561045457600080fd5b506001546101f0565b60006001600160e01b03198216637965db0b60e01b148061048e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6001600160a01b0381166000908152600260205260409020546104d25760405162461bcd60e51b81526004016104c9906111ff565b60405180910390fd5b60006104dd60015490565b6104e79047611225565b90506000610514838361050f866001600160a01b031660009081526003602052604090205490565b610a81565b9050806105335760405162461bcd60e51b81526004016104c990611285565b6001600160a01b0383166000908152600360205260408120805483929061055b908490611225565b9250508190555080600160008282546105749190611225565b9091555061058490508382610ac6565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516105b59291906112a9565b60405180910390a1505050565b6000805160206116bd8339815191526105da81610b62565b6008546009546040516370a0823160e01b815260009182916001600160a01b03909116906370a082319061061290309060040161118a565b60206040518083038186803b15801561062a57600080fd5b505afa15801561063e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066291906112c2565b11905060005b828110156106d457600060088281548110610685576106856112e3565b6000918252602090912001546001600160a01b031690506106a581610494565b82156106c1576009546106c1906001600160a01b03168261073a565b50806106cc816112f9565b915050610668565b50505050565b6000828152600760205260409020600101546106f581610b62565b6106ff8383610b6f565b505050565b6001600160a01b038116331461072c5760405162461bcd60e51b81526004016104c990611360565b6107368282610bf5565b5050565b6001600160a01b03811660009081526002602052604090205461076f5760405162461bcd60e51b81526004016104c9906111ff565b6001600160a01b0382166000908152600560205260408120546040516370a0823160e01b81526001600160a01b038516906370a08231906107b490309060040161118a565b60206040518083038186803b1580156107cc57600080fd5b505afa1580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080491906112c2565b61080e9190611225565b90506000610847838361050f87876001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b9050806108665760405162461bcd60e51b81526004016104c990611285565b6001600160a01b0380851660009081526006602090815260408083209387168352929052908120805483929061089d908490611225565b90915550506001600160a01b038416600090815260056020526040812080548392906108ca908490611225565b909155506108db9050848483610c5c565b836001600160a01b03167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161091692919061101b565b60405180910390a250505050565b6000805160206116bd83398151915261093c81610b62565b60085460005b818110156106ff5760006008828154811061095f5761095f6112e3565b6000918252602090912001546001600160a01b0316905061097f81610494565b508061098a816112f9565b915050610942565b6000600482815481106109a7576109a76112e3565b6000918252602090912001546001600160a01b031692915050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206116bd833981519152610a0581610b62565b60085460005b818110156106d457600060088281548110610a2857610a286112e3565b6000918252602090912001546001600160a01b03169050610a49858261073a565b5080610a54816112f9565b915050610a0b565b600082815260076020526040902060010154610a7781610b62565b6106ff8383610bf5565b600080546001600160a01b038516825260026020526040822054839190610aa89086611370565b610ab291906113a5565b610abc91906113b9565b90505b9392505050565b80471015610ae65760405162461bcd60e51b81526004016104c990611407565b6000826001600160a01b031682604051610aff90611417565b60006040518083038185875af1925050503d8060008114610b3c576040519150601f19603f3d011682016040523d82523d6000602084013e610b41565b606091505b50509050806106ff5760405162461bcd60e51b81526004016104c990611479565b610b6c8133610cb2565b50565b610b7982826109c2565b6107365760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610bb13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610bff82826109c2565b156107365760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6106ff8363a9059cbb60e01b8484604051602401610c7b92919061101b565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d16565b610cbc82826109c2565b61073657610cd4816001600160a01b03166014610da5565b610cdf836020610da5565b604051602001610cf09291906114d7565b60408051601f198184030181529082905262461bcd60e51b82526104c991600401611561565b6000610d6b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f119092919063ffffffff16565b8051909150156106ff5780806020019051810190610d899190611585565b6106ff5760405162461bcd60e51b81526004016104c9906115ed565b60606000610db4836002611370565b610dbf906002611225565b67ffffffffffffffff811115610dd757610dd76115fd565b6040519080825280601f01601f191660200182016040528015610e01576020820181803683370190505b509050600360fc1b81600081518110610e1c57610e1c6112e3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610e4b57610e4b6112e3565b60200101906001600160f81b031916908160001a9053506000610e6f846002611370565b610e7a906001611225565b90505b6001811115610ef2576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610eae57610eae6112e3565b1a60f81b828281518110610ec457610ec46112e3565b60200101906001600160f81b031916908160001a90535060049490941c93610eeb81611613565b9050610e7d565b508315610abf5760405162461bcd60e51b81526004016104c99061165c565b6060610abc8484600085856001600160a01b0385163b610f435760405162461bcd60e51b81526004016104c9906116a0565b600080866001600160a01b03168587604051610f5f91906116b0565b60006040518083038185875af1925050503d8060008114610f9c576040519150601f19603f3d011682016040523d82523d6000602084013e610fa1565b606091505b5091509150610fb1828286610fbc565b979650505050505050565b60608315610fcb575081610abf565b825115610fdb5782518084602001fd5b8160405162461bcd60e51b81526004016104c99190611561565b60006001600160a01b03821661048e565b61100f81610ff5565b82525050565b8061100f565b604081016110298285611006565b610abf6020830184611015565b6001600160e01b031981165b8114610b6c57600080fd5b803561048e81611036565b60006020828403121561106d5761106d600080fd5b6000611079848461104d565b949350505050565b80151561100f565b6020810161048e8284611081565b61104281610ff5565b803561048e81611097565b6000602082840312156110c0576110c0600080fd5b600061107984846110a0565b80611042565b803561048e816110cc565b6000602082840312156110f2576110f2600080fd5b600061107984846110d2565b6020810161048e8284611015565b6000806040838503121561112257611122600080fd5b600061112e85856110d2565b925050602061113f858286016110a0565b9150509250929050565b600061048e82610ff5565b61104281611149565b803561048e81611154565b6000806040838503121561117e5761117e600080fd5b600061112e858561115d565b6020810161048e8284611006565b6000602082840312156111ad576111ad600080fd5b6000611079848461115d565b602681526000602082017f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2081526573686172657360d01b602082015291505b5060400190565b6020808252810161048e816111b9565b634e487b7160e01b600052601160045260246000fd5b600082198211156112385761123861120f565b500190565b602b81526000602082017f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742081526a191d59481c185e5b595b9d60aa1b602082015291506111f8565b6020808252810161048e8161123d565b600061048e82611149565b61100f81611295565b6040810161102982856112a0565b805161048e816110cc565b6000602082840312156112d7576112d7600080fd5b600061107984846112b7565b634e487b7160e01b600052603260045260246000fd5b600060001982141561130d5761130d61120f565b5060010190565b602f81526000602082017f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636581526e103937b632b9903337b91039b2b63360891b602082015291506111f8565b6020808252810161048e81611314565b600081600019048311821515161561138a5761138a61120f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826113b4576113b461138f565b500490565b6000828210156113cb576113cb61120f565b500390565b601d81526000602082017f416464726573733a20696e73756666696369656e742062616c616e6365000000815291505b5060200190565b6020808252810161048e816113d0565b60008161048e565b603a81526000602082017f416464726573733a20756e61626c6520746f2073656e642076616c75652c207281527f6563697069656e74206d61792068617665207265766572746564000000000000602082015291506111f8565b6020808252810161048e8161141f565b60005b838110156114a457818101518382015260200161148c565b838111156106d45750506000910152565b60006114bf825190565b6114cd818560208601611489565b9290920192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152601701600061150982856114b5565b7001034b99036b4b9b9b4b733903937b6329607d1b8152601101915061107982846114b5565b6000611539825190565b808452602084019350611550818560208601611489565b601f01601f19169290920192915050565b60208082528101610abf818461152f565b801515611042565b805161048e81611572565b60006020828403121561159a5761159a600080fd5b6000611079848461157a565b602a81526000602082017f5361666545524332303a204552433230206f7065726174696f6e20646964206e8152691bdd081cdd58d8d9595960b21b602082015291506111f8565b6020808252810161048e816115a6565b634e487b7160e01b600052604160045260246000fd5b6000816116225761162261120f565b506000190190565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e7491019081526000611400565b6020808252810161048e8161162a565b601d81526000602082017f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081529150611400565b6020808252810161048e8161166c565b6000610abf82846114b556fefeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519ba26469706673582212202a91e235583678c4afd9a349bac74f10393f1f0d97b97b76d81b647b50d487a264736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e7bc3e402f11cf3a649c3c92d565915ea8a661fa000000000000000000000000d7e5e1c0cb9540669d8f22f71c9540460db23938000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : payees (address[]): 0xE7bc3E402f11cF3A649C3C92d565915eA8A661Fa,0xd7E5E1c0Cb9540669d8F22F71C9540460db23938
Arg [1] : shares (uint256[]): 1,1
Arg [2] : wethAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 000000000000000000000000e7bc3e402f11cf3a649c3c92d565915ea8a661fa
Arg [5] : 000000000000000000000000d7e5e1c0cb9540669d8f22f71c9540460db23938
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001


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.