ETH Price: $2,603.72 (-2.13%)
Gas: 1 Gwei

Contract

0x4e62131bB6c8d56dBe12792DDB403406982582Bd
 

Overview

ETH Balance

0.6228 ETH

Eth Value

$1,621.60 (@ $2,603.72/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Release143761162022-03-13 4:01:41881 days ago1647144101IN
0x4e62131b...6982582Bd
0 ETH0.0008377918.38928258
Release143432772022-03-08 1:42:06886 days ago1646703726IN
0x4e62131b...6982582Bd
0 ETH0.0022877550.20207778
Release143425402022-03-07 22:55:52886 days ago1646693752IN
0x4e62131b...6982582Bd
0 ETH0.0021261546.66821339
Release143424922022-03-07 22:46:16886 days ago1646693176IN
0x4e62131b...6982582Bd
0 ETH0.002169147.59832437
Release143424012022-03-07 22:27:11886 days ago1646692031IN
0x4e62131b...6982582Bd
0 ETH0.0016299935.76822785
Release141542722022-02-06 19:00:28915 days ago1644174028IN
0x4e62131b...6982582Bd
0 ETH0.00658405105.05751582
Release141542592022-02-06 18:57:52915 days ago1644173872IN
0x4e62131b...6982582Bd
0 ETH0.00736855117.59776169
Release141368082022-02-04 2:25:45918 days ago1643941545IN
0x4e62131b...6982582Bd
0 ETH0.0056611590.33135925
Release141307042022-02-03 3:47:47919 days ago1643860067IN
0x4e62131b...6982582Bd
0 ETH0.00343111110.39994093
Release141307042022-02-03 3:47:47919 days ago1643860067IN
0x4e62131b...6982582Bd
0 ETH0.00691887110.39994093
Release141298352022-02-03 0:23:56919 days ago1643847836IN
0x4e62131b...6982582Bd
0 ETH0.00638276101.84557519
Release141297982022-02-03 0:16:47919 days ago1643847407IN
0x4e62131b...6982582Bd
0 ETH0.00557853122.41418506
Release141297802022-02-03 0:12:50919 days ago1643847170IN
0x4e62131b...6982582Bd
0 ETH0.00697541111.32349644
Release141297712022-02-03 0:10:53919 days ago1643847053IN
0x4e62131b...6982582Bd
0 ETH0.00685398109.36459507
Release141297502022-02-03 0:07:08919 days ago1643846828IN
0x4e62131b...6982582Bd
0 ETH0.00631884138.65941537
Release141125072022-01-31 8:11:47921 days ago1643616707IN
0x4e62131b...6982582Bd
0 ETH0.0041323165.93669987
Release141100722022-01-30 23:10:57922 days ago1643584257IN
0x4e62131b...6982582Bd
0 ETH0.01053226132.03130699
0x60806040140912712022-01-28 1:40:57925 days ago1643334057IN
 Create: Payments
0 ETH0.20575905164.41258157

Latest 19 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
143761162022-03-13 4:01:41881 days ago1647144101
0x4e62131b...6982582Bd
0.03 ETH
143432772022-03-08 1:42:06886 days ago1646703726
0x4e62131b...6982582Bd
0.63 ETH
143425402022-03-07 22:55:52886 days ago1646693752
0x4e62131b...6982582Bd
0.63 ETH
143424922022-03-07 22:46:16886 days ago1646693176
0x4e62131b...6982582Bd
1.5 ETH
143424012022-03-07 22:27:11886 days ago1646692031
0x4e62131b...6982582Bd
0.03 ETH
143423762022-03-07 22:22:13886 days ago1646691733
0x4e62131b...6982582Bd
3 ETH
141542722022-02-06 19:00:28915 days ago1644174028
0x4e62131b...6982582Bd
9.2988 ETH
141542592022-02-06 18:57:52915 days ago1644173872
0x4e62131b...6982582Bd
9.2988 ETH
141368082022-02-04 2:25:45918 days ago1643941545
0x4e62131b...6982582Bd
0.4428 ETH
141307042022-02-03 3:47:47919 days ago1643860067
0x4e62131b...6982582Bd
0.4428 ETH
141298352022-02-03 0:23:56919 days ago1643847836
0x4e62131b...6982582Bd
0.4428 ETH
141297982022-02-03 0:16:47919 days ago1643847407
0x4e62131b...6982582Bd
0.2604 ETH
141297802022-02-03 0:12:50919 days ago1643847170
0x4e62131b...6982582Bd
0.4428 ETH
141297712022-02-03 0:10:53919 days ago1643847053
0x4e62131b...6982582Bd
0.8856 ETH
141297502022-02-03 0:07:08919 days ago1643846828
0x4e62131b...6982582Bd
13.02 ETH
141297412022-02-03 0:03:54919 days ago1643846634
0x4e62131b...6982582Bd
26.04 ETH
141125072022-01-31 8:11:47921 days ago1643616707
0x4e62131b...6982582Bd
0.1824 ETH
141100722022-01-30 23:10:57922 days ago1643584257
0x4e62131b...6982582Bd
9.12 ETH
141100592022-01-30 23:08:14922 days ago1643584094
0x4e62131b...6982582Bd
18.24 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Payments

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol


// 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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol


// OpenZeppelin Contracts v4.4.1 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

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'
        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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/finance/PaymentSplitter.sol


// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;




/**
 * @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: contracts/Payments.sol




pragma solidity ^0.8.0;


contract Payments is PaymentSplitter {
    
    constructor (address[] memory _payees, uint256[] memory _shares) PaymentSplitter(_payees, _shares) payable {}
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"_payees","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"stateMutability":"payable","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"},{"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":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

60806040526040516200117c3803806200117c8339810160408190526200002691620003ca565b818180518251146200009a5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620000ed5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000091565b60005b825181101562000159576200014483828151811062000113576200011362000556565b602002602001015183838151811062000130576200013062000556565b60200260200101516200016460201b60201c565b80620001508162000522565b915050620000f0565b505050505062000582565b6001600160a01b038216620001d15760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000091565b60008111620002235760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000091565b6001600160a01b038216600090815260026020526040902054156200029f5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000091565b60048054600181019091557f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0384169081179091556000908152600260205260408120829055546200030790829062000507565b600055604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b600082601f8301126200036257600080fd5b815160206200037b6200037583620004e1565b620004ae565b80838252828201915082860187848660051b89010111156200039c57600080fd5b60005b85811015620003bd578151845292840192908401906001016200039f565b5090979650505050505050565b60008060408385031215620003de57600080fd5b82516001600160401b0380821115620003f657600080fd5b818501915085601f8301126200040b57600080fd5b815160206200041e6200037583620004e1565b8083825282820191508286018a848660051b89010111156200043f57600080fd5b600096505b848710156200047a5780516001600160a01b03811681146200046557600080fd5b83526001969096019591830191830162000444565b50918801519196509093505050808211156200049557600080fd5b50620004a48582860162000350565b9150509250929050565b604051601f8201601f191681016001600160401b0381118282101715620004d957620004d96200056c565b604052919050565b60006001600160401b03821115620004fd57620004fd6200056c565b5060051b60200190565b600082198211156200051d576200051d62000540565b500190565b600060001982141562000539576200053962000540565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b610bea80620005926000396000f3fe60806040526004361061008a5760003560e01c80638b83209b116100595780638b83209b146101845780639852595c146101bc578063ce7c2ac2146101f2578063d79779b214610228578063e33b7de31461025e57600080fd5b806319165587146100d85780633a98ef39146100fa578063406072a91461011e57806348b750441461016457600080fd5b366100d3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156100e457600080fd5b506100f86100f3366004610946565b610273565b005b34801561010657600080fd5b506000545b6040519081526020015b60405180910390f35b34801561012a57600080fd5b5061010b610139366004610985565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561017057600080fd5b506100f861017f366004610985565b6103aa565b34801561019057600080fd5b506101a461019f3660046109be565b610592565b6040516001600160a01b039091168152602001610115565b3480156101c857600080fd5b5061010b6101d7366004610946565b6001600160a01b031660009081526003602052604090205490565b3480156101fe57600080fd5b5061010b61020d366004610946565b6001600160a01b031660009081526002602052604090205490565b34801561023457600080fd5b5061010b610243366004610946565b6001600160a01b031660009081526005602052604090205490565b34801561026a57600080fd5b5060015461010b565b6001600160a01b0381166000908152600260205260409020546102b15760405162461bcd60e51b81526004016102a890610a3f565b60405180910390fd5b60006102bc60015490565b6102c69047610ad0565b905060006102f383836102ee866001600160a01b031660009081526003602052604090205490565b6105c2565b9050806103125760405162461bcd60e51b81526004016102a890610a85565b6001600160a01b0383166000908152600360205260408120805483929061033a908490610ad0565b9250508190555080600160008282546103539190610ad0565b9091555061036390508382610607565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6001600160a01b0381166000908152600260205260409020546103df5760405162461bcd60e51b81526004016102a890610a3f565b6001600160a01b0382166000908152600560205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561043757600080fd5b505afa15801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f91906109d7565b6104799190610ad0565b905060006104b283836102ee87876001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b9050806104d15760405162461bcd60e51b81526004016102a890610a85565b6001600160a01b03808516600090815260066020908152604080832093871683529290529081208054839290610508908490610ad0565b90915550506001600160a01b03841660009081526005602052604081208054839290610535908490610ad0565b909155506105469050848483610725565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000600482815481106105a7576105a7610b86565b6000918252602090912001546001600160a01b031692915050565b600080546001600160a01b0385168252600260205260408220548391906105e99086610b0a565b6105f39190610ae8565b6105fd9190610b29565b90505b9392505050565b804710156106575760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016102a8565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146106a4576040519150601f19603f3d011682016040523d82523d6000602084013e6106a9565b606091505b50509050806107205760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016102a8565b505050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490840152610720928692916000916107b5918516908490610832565b80519091501561072057808060200190518101906107d39190610963565b6107205760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102a8565b60606105fd8484600085856001600160a01b0385163b6108945760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102a8565b600080866001600160a01b031685876040516108b091906109f0565b60006040518083038185875af1925050503d80600081146108ed576040519150601f19603f3d011682016040523d82523d6000602084013e6108f2565b606091505b509150915061090282828661090d565b979650505050505050565b6060831561091c575081610600565b82511561092c5782518084602001fd5b8160405162461bcd60e51b81526004016102a89190610a0c565b60006020828403121561095857600080fd5b813561060081610b9c565b60006020828403121561097557600080fd5b8151801515811461060057600080fd5b6000806040838503121561099857600080fd5b82356109a381610b9c565b915060208301356109b381610b9c565b809150509250929050565b6000602082840312156109d057600080fd5b5035919050565b6000602082840312156109e957600080fd5b5051919050565b60008251610a02818460208701610b40565b9190910192915050565b6020815260008251806020840152610a2b816040850160208701610b40565b601f01601f19169190910160400192915050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60008219821115610ae357610ae3610b70565b500190565b600082610b0557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610b2457610b24610b70565b500290565b600082821015610b3b57610b3b610b70565b500390565b60005b83811015610b5b578181015183820152602001610b43565b83811115610b6a576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610bb157600080fd5b5056fea26469706673582212201775016052a7d238e14fc4759a2fd83cc5ae12f82e007cf812e49e66d25e4ade64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000931bd849ff7cd130855abf9d40f04d21378cc1e60000000000000000000000004fe440d856059f08e0301a5edc40556e73e4a6000000000000000000000000008eb07e2f87198fe19961fb4ac8046e54639b0b83000000000000000000000000f9d80dac6c0ad4bcd7acb75f428b736036275577000000000000000000000000aaf9dcdcb8ea451479e38dd42e851c12c4b91b93000000000000000000000000054c676985d6542c51cd4545399be333393082d200000000000000000000000051a8b04e69b1e8aec0a110a9e9ff9870377b19930000000000000000000000004d68f6a11f53799fe16f59e936f5fe600f2b990000000000000000000000000067e8d3cf5786d343916bd45897cee5d85a4c097e0000000000000000000000004a27a56d99b6a8ddb6b7d587fec15786f79a8e69000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000015000000000000000000000000000000000000000000000000000000000000001500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000032

Deployed Bytecode

0x60806040526004361061008a5760003560e01c80638b83209b116100595780638b83209b146101845780639852595c146101bc578063ce7c2ac2146101f2578063d79779b214610228578063e33b7de31461025e57600080fd5b806319165587146100d85780633a98ef39146100fa578063406072a91461011e57806348b750441461016457600080fd5b366100d3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156100e457600080fd5b506100f86100f3366004610946565b610273565b005b34801561010657600080fd5b506000545b6040519081526020015b60405180910390f35b34801561012a57600080fd5b5061010b610139366004610985565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561017057600080fd5b506100f861017f366004610985565b6103aa565b34801561019057600080fd5b506101a461019f3660046109be565b610592565b6040516001600160a01b039091168152602001610115565b3480156101c857600080fd5b5061010b6101d7366004610946565b6001600160a01b031660009081526003602052604090205490565b3480156101fe57600080fd5b5061010b61020d366004610946565b6001600160a01b031660009081526002602052604090205490565b34801561023457600080fd5b5061010b610243366004610946565b6001600160a01b031660009081526005602052604090205490565b34801561026a57600080fd5b5060015461010b565b6001600160a01b0381166000908152600260205260409020546102b15760405162461bcd60e51b81526004016102a890610a3f565b60405180910390fd5b60006102bc60015490565b6102c69047610ad0565b905060006102f383836102ee866001600160a01b031660009081526003602052604090205490565b6105c2565b9050806103125760405162461bcd60e51b81526004016102a890610a85565b6001600160a01b0383166000908152600360205260408120805483929061033a908490610ad0565b9250508190555080600160008282546103539190610ad0565b9091555061036390508382610607565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6001600160a01b0381166000908152600260205260409020546103df5760405162461bcd60e51b81526004016102a890610a3f565b6001600160a01b0382166000908152600560205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561043757600080fd5b505afa15801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f91906109d7565b6104799190610ad0565b905060006104b283836102ee87876001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b9050806104d15760405162461bcd60e51b81526004016102a890610a85565b6001600160a01b03808516600090815260066020908152604080832093871683529290529081208054839290610508908490610ad0565b90915550506001600160a01b03841660009081526005602052604081208054839290610535908490610ad0565b909155506105469050848483610725565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000600482815481106105a7576105a7610b86565b6000918252602090912001546001600160a01b031692915050565b600080546001600160a01b0385168252600260205260408220548391906105e99086610b0a565b6105f39190610ae8565b6105fd9190610b29565b90505b9392505050565b804710156106575760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016102a8565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146106a4576040519150601f19603f3d011682016040523d82523d6000602084013e6106a9565b606091505b50509050806107205760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016102a8565b505050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490840152610720928692916000916107b5918516908490610832565b80519091501561072057808060200190518101906107d39190610963565b6107205760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102a8565b60606105fd8484600085856001600160a01b0385163b6108945760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102a8565b600080866001600160a01b031685876040516108b091906109f0565b60006040518083038185875af1925050503d80600081146108ed576040519150601f19603f3d011682016040523d82523d6000602084013e6108f2565b606091505b509150915061090282828661090d565b979650505050505050565b6060831561091c575081610600565b82511561092c5782518084602001fd5b8160405162461bcd60e51b81526004016102a89190610a0c565b60006020828403121561095857600080fd5b813561060081610b9c565b60006020828403121561097557600080fd5b8151801515811461060057600080fd5b6000806040838503121561099857600080fd5b82356109a381610b9c565b915060208301356109b381610b9c565b809150509250929050565b6000602082840312156109d057600080fd5b5035919050565b6000602082840312156109e957600080fd5b5051919050565b60008251610a02818460208701610b40565b9190910192915050565b6020815260008251806020840152610a2b816040850160208701610b40565b601f01601f19169190910160400192915050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60008219821115610ae357610ae3610b70565b500190565b600082610b0557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610b2457610b24610b70565b500290565b600082821015610b3b57610b3b610b70565b500390565b60005b83811015610b5b578181015183820152602001610b43565b83811115610b6a576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610bb157600080fd5b5056fea26469706673582212201775016052a7d238e14fc4759a2fd83cc5ae12f82e007cf812e49e66d25e4ade64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000931bd849ff7cd130855abf9d40f04d21378cc1e60000000000000000000000004fe440d856059f08e0301a5edc40556e73e4a6000000000000000000000000008eb07e2f87198fe19961fb4ac8046e54639b0b83000000000000000000000000f9d80dac6c0ad4bcd7acb75f428b736036275577000000000000000000000000aaf9dcdcb8ea451479e38dd42e851c12c4b91b93000000000000000000000000054c676985d6542c51cd4545399be333393082d200000000000000000000000051a8b04e69b1e8aec0a110a9e9ff9870377b19930000000000000000000000004d68f6a11f53799fe16f59e936f5fe600f2b990000000000000000000000000067e8d3cf5786d343916bd45897cee5d85a4c097e0000000000000000000000004a27a56d99b6a8ddb6b7d587fec15786f79a8e69000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000015000000000000000000000000000000000000000000000000000000000000001500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000032

-----Decoded View---------------
Arg [0] : _payees (address[]): 0x931bd849Ff7CD130855abf9d40f04d21378Cc1e6,0x4fE440D856059f08e0301a5Edc40556e73e4A600,0x8Eb07e2f87198FE19961fB4AC8046e54639B0b83,0xF9D80DAc6C0Ad4bCd7AcB75f428b736036275577,0xAaF9dcDcB8Ea451479e38dD42E851c12C4b91B93,0x054c676985d6542c51CD4545399bE333393082D2,0x51a8B04E69B1E8AEc0A110A9E9Ff9870377b1993,0x4d68f6A11F53799Fe16F59E936F5Fe600f2B9900,0x67e8D3cf5786D343916BD45897ceE5d85a4c097E,0x4a27A56D99B6a8dDb6b7D587fEc15786F79a8e69
Arg [1] : _shares (uint256[]): 21,21,1,1,1,1,1,1,2,50

-----Encoded View---------------
24 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 000000000000000000000000931bd849ff7cd130855abf9d40f04d21378cc1e6
Arg [4] : 0000000000000000000000004fe440d856059f08e0301a5edc40556e73e4a600
Arg [5] : 0000000000000000000000008eb07e2f87198fe19961fb4ac8046e54639b0b83
Arg [6] : 000000000000000000000000f9d80dac6c0ad4bcd7acb75f428b736036275577
Arg [7] : 000000000000000000000000aaf9dcdcb8ea451479e38dd42e851c12c4b91b93
Arg [8] : 000000000000000000000000054c676985d6542c51cd4545399be333393082d2
Arg [9] : 00000000000000000000000051a8b04e69b1e8aec0a110a9e9ff9870377b1993
Arg [10] : 0000000000000000000000004d68f6a11f53799fe16f59e936f5fe600f2b9900
Arg [11] : 00000000000000000000000067e8d3cf5786d343916bd45897cee5d85a4c097e
Arg [12] : 0000000000000000000000004a27a56d99b6a8ddb6b7d587fec15786f79a8e69
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000032


Deployed Bytecode Sourcemap

24241:168:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19812:40;845:10;19812:40;;;-1:-1:-1;;;;;2752:32:1;;;2734:51;;19842:9:0;2816:2:1;2801:18;;2794:34;2707:18;19812:40:0;;;;;;;24241:168;;;;;21598:566;;;;;;;;;;-1:-1:-1;21598:566:0;;;;;:::i;:::-;;:::i;:::-;;19943:91;;;;;;;;;;-1:-1:-1;19987:7:0;20014:12;19943:91;;;6432:25:1;;;6420:2;6405:18;19943:91:0;;;;;;;;21072:135;;;;;;;;;;-1:-1:-1;21072:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;21169:21:0;;;21142:7;21169:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;21072:135;22432:641;;;;;;;;;;-1:-1:-1;22432:641:0;;;;;:::i;:::-;;:::i;21298:100::-;;;;;;;;;;-1:-1:-1;21298:100:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2508:32:1;;;2490:51;;2478:2;2463:18;21298:100:0;2344:203:1;20794:109:0;;;;;;;;;;-1:-1:-1;20794:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;20877:18:0;20850:7;20877:18;;;:9;:18;;;;;;;20794:109;20590:105;;;;;;;;;;-1:-1:-1;20590:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;20671:16:0;20644:7;20671:16;;;:7;:16;;;;;;;20590:105;20380:119;;;;;;;;;;-1:-1:-1;20380:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;20465:26:0;20438:7;20465:26;;;:19;:26;;;;;;;20380:119;20128:95;;;;;;;;;;-1:-1:-1;20201:14:0;;20128:95;;21598:566;-1:-1:-1;;;;;21674:16:0;;21693:1;21674:16;;;:7;:16;;;;;;21666:71;;;;-1:-1:-1;;;21666:71:0;;;;;;;:::i;:::-;;;;;;;;;21750:21;21798:15;20201:14;;;20128:95;21798:15;21774:39;;:21;:39;:::i;:::-;21750:63;;21824:15;21842:58;21858:7;21867:13;21882:17;21891:7;-1:-1:-1;;;;;20877:18:0;20850:7;20877:18;;;:9;:18;;;;;;;20794:109;21882:17;21842:15;:58::i;:::-;21824:76;-1:-1:-1;21921:12:0;21913:68;;;;-1:-1:-1;;;21913:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21994:18:0;;;;;;:9;:18;;;;;:29;;22016:7;;21994:18;:29;;22016:7;;21994:29;:::i;:::-;;;;;;;;22052:7;22034:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;22072:35:0;;-1:-1:-1;22090:7:0;22099;22072:17;:35::i;:::-;22123:33;;;-1:-1:-1;;;;;2752:32:1;;2734:51;;2816:2;2801:18;;2794:34;;;22123:33:0;;2707:18:1;22123:33:0;;;;;;;21655:509;;21598:566;:::o;22432:641::-;-1:-1:-1;;;;;22514:16:0;;22533:1;22514:16;;;:7;:16;;;;;;22506:71;;;;-1:-1:-1;;;22506:71:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;20465:26:0;;22590:21;20465:26;;;:19;:26;;;;;;22614:30;;-1:-1:-1;;;22614:30:0;;22638:4;22614:30;;;2490:51:1;-1:-1:-1;;;;;22614:15:0;;;;;2463:18:1;;22614:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;22590:77;;22678:15;22696:65;22712:7;22721:13;22736:24;22745:5;22752:7;-1:-1:-1;;;;;21169:21:0;;;21142:7;21169:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;21072:135;22696:65;22678:83;-1:-1:-1;22782:12:0;22774:68;;;;-1:-1:-1;;;22774:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22855:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;22889:7;;22855:21;:41;;22889:7;;22855:41;:::i;:::-;;;;-1:-1:-1;;;;;;;22907:26:0;;;;;;:19;:26;;;;;:37;;22937:7;;22907:26;:37;;22937:7;;22907:37;:::i;:::-;;;;-1:-1:-1;22957:47:0;;-1:-1:-1;22980:5:0;22987:7;22996;22957:22;:47::i;:::-;23020:45;;;-1:-1:-1;;;;;2752:32:1;;;2734:51;;2816:2;2801:18;;2794:34;;;23020:45:0;;;;;2707:18:1;23020:45:0;;;;;;;22495:578;;22432:641;;:::o;21298:100::-;21349:7;21376;21384:5;21376:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;21376:14:0;;21298:100;-1:-1:-1;;21298:100:0:o;23251:248::-;23397:7;23461:12;;-1:-1:-1;;;;;23441:16:0;;;;:7;:16;;;;;;23476:15;;23461:12;23425:32;;:13;:32;:::i;:::-;23424:49;;;;:::i;:::-;:67;;;;:::i;:::-;23417:74;;23251:248;;;;;;:::o;3511:317::-;3626:6;3601:21;:31;;3593:73;;;;-1:-1:-1;;;3593:73:0;;4542:2:1;3593:73:0;;;4524:21:1;4581:2;4561:18;;;4554:30;4620:31;4600:18;;;4593:59;4669:18;;3593:73:0;4340:353:1;3593:73:0;3680:12;3698:9;-1:-1:-1;;;;;3698:14:0;3720:6;3698:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3679:52;;;3750:7;3742:78;;;;-1:-1:-1;;;3742:78:0;;4115:2:1;3742:78:0;;;4097:21:1;4154:2;4134:18;;;4127:30;4193:34;4173:18;;;4166:62;4264:28;4244:18;;;4237:56;4310:19;;3742:78:0;3913:422:1;3742:78:0;3582:246;3511:317;;:::o;13219:211::-;13363:58;;;-1:-1:-1;;;;;2752:32:1;;;13363:58:0;;;2734:51:1;2801:18;;;;2794:34;;;13363:58:0;;;;;;;;;;2707:18:1;;;;13363:58:0;;;;;;;;-1:-1:-1;;;;;13363:58:0;-1:-1:-1;;;13363:58:0;;;16242:69;;;;;;;;;;;;;;;;13336:86;;13356:5;;13363:58;-1:-1:-1;;16242:69:0;;:27;;;13363:58;;16242:27;:69::i;:::-;16326:17;;16216:95;;-1:-1:-1;16326:21:0;16322:179;;16423:10;16412:30;;;;;;;;;;;;:::i;:::-;16404:85;;;;-1:-1:-1;;;16404:85:0;;6077:2:1;16404:85:0;;;6059:21:1;6116:2;6096:18;;;6089:30;6155:34;6135:18;;;6128:62;-1:-1:-1;;;6206:18:1;;;6199:40;6256:19;;16404:85:0;5875:406:1;4995:229:0;5132:12;5164:52;5186:6;5194:4;5200:1;5203:12;5132;-1:-1:-1;;;;;2545:19:0;;;6402:60;;;;-1:-1:-1;;;6402:60:0;;5719:2:1;6402:60:0;;;5701:21:1;5758:2;5738:18;;;5731:30;5797:31;5777:18;;;5770:59;5846:18;;6402:60:0;5517:353:1;6402:60:0;6476:12;6490:23;6517:6;-1:-1:-1;;;;;6517:11:0;6536:5;6543:4;6517:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6475:73;;;;6566:51;6583:7;6592:10;6604:12;6566:16;:51::i;:::-;6559:58;6115:510;-1:-1:-1;;;;;;;6115:510:0:o;8801:712::-;8951:12;8980:7;8976:530;;;-1:-1:-1;9011:10:0;9004:17;;8976:530;9125:17;;:21;9121:374;;9323:10;9317:17;9384:15;9371:10;9367:2;9363:19;9356:44;9121:374;9466:12;9459:20;;-1:-1:-1;;;9459:20:0;;;;;;;;:::i;14:247:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;526:277::-;593:6;646:2;634:9;625:7;621:23;617:32;614:52;;;662:1;659;652:12;614:52;694:9;688:16;747:5;740:13;733:21;726:5;723:32;713:60;;769:1;766;759:12;1074:402;1156:6;1164;1217:2;1205:9;1196:7;1192:23;1188:32;1185:52;;;1233:1;1230;1223:12;1185:52;1272:9;1259:23;1291:31;1316:5;1291:31;:::i;:::-;1341:5;-1:-1:-1;1398:2:1;1383:18;;1370:32;1411:33;1370:32;1411:33;:::i;:::-;1463:7;1453:17;;;1074:402;;;;;:::o;1481:180::-;1540:6;1593:2;1581:9;1572:7;1568:23;1564:32;1561:52;;;1609:1;1606;1599:12;1561:52;-1:-1:-1;1632:23:1;;1481:180;-1:-1:-1;1481:180:1:o;1666:184::-;1736:6;1789:2;1777:9;1768:7;1764:23;1760:32;1757:52;;;1805:1;1802;1795:12;1757:52;-1:-1:-1;1828:16:1;;1666:184;-1:-1:-1;1666:184:1:o;1855:274::-;1984:3;2022:6;2016:13;2038:53;2084:6;2079:3;2072:4;2064:6;2060:17;2038:53;:::i;:::-;2107:16;;;;;1855:274;-1:-1:-1;;1855:274:1:o;3118:383::-;3267:2;3256:9;3249:21;3230:4;3299:6;3293:13;3342:6;3337:2;3326:9;3322:18;3315:34;3358:66;3417:6;3412:2;3401:9;3397:18;3392:2;3384:6;3380:15;3358:66;:::i;:::-;3485:2;3464:15;-1:-1:-1;;3460:29:1;3445:45;;;;3492:2;3441:54;;3118:383;-1:-1:-1;;3118:383:1:o;3506:402::-;3708:2;3690:21;;;3747:2;3727:18;;;3720:30;3786:34;3781:2;3766:18;;3759:62;-1:-1:-1;;;3852:2:1;3837:18;;3830:36;3898:3;3883:19;;3506:402::o;5105:407::-;5307:2;5289:21;;;5346:2;5326:18;;;5319:30;5385:34;5380:2;5365:18;;5358:62;-1:-1:-1;;;5451:2:1;5436:18;;5429:41;5502:3;5487:19;;5105:407::o;6468:128::-;6508:3;6539:1;6535:6;6532:1;6529:13;6526:39;;;6545:18;;:::i;:::-;-1:-1:-1;6581:9:1;;6468:128::o;6601:217::-;6641:1;6667;6657:132;;6711:10;6706:3;6702:20;6699:1;6692:31;6746:4;6743:1;6736:15;6774:4;6771:1;6764:15;6657:132;-1:-1:-1;6803:9:1;;6601:217::o;6823:168::-;6863:7;6929:1;6925;6921:6;6917:14;6914:1;6911:21;6906:1;6899:9;6892:17;6888:45;6885:71;;;6936:18;;:::i;:::-;-1:-1:-1;6976:9:1;;6823:168::o;6996:125::-;7036:4;7064:1;7061;7058:8;7055:34;;;7069:18;;:::i;:::-;-1:-1:-1;7106:9:1;;6996:125::o;7126:258::-;7198:1;7208:113;7222:6;7219:1;7216:13;7208:113;;;7298:11;;;7292:18;7279:11;;;7272:39;7244:2;7237:10;7208:113;;;7339:6;7336:1;7333:13;7330:48;;;7374:1;7365:6;7360:3;7356:16;7349:27;7330:48;;7126:258;;;:::o;7389:127::-;7450:10;7445:3;7441:20;7438:1;7431:31;7481:4;7478:1;7471:15;7505:4;7502:1;7495:15;7521:127;7582:10;7577:3;7573:20;7570:1;7563:31;7613:4;7610:1;7603:15;7637:4;7634:1;7627:15;7653:131;-1:-1:-1;;;;;7728:31:1;;7718:42;;7708:70;;7774:1;7771;7764:12;7708:70;7653:131;:::o

Swarm Source

ipfs://1775016052a7d238e14fc4759a2fd83cc5ae12f82e007cf812e49e66d25e4ade

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.