ETH Price: $2,595.06 (-3.05%)
Gas: 4 Gwei

Contract

0xc9ab54391abfe62315a550Ec1b38C525Efb1Ce16
 

Overview

ETH Balance

0.123179699394950003 ETH

Eth Value

$319.66 (@ $2,595.06/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Release177644742023-07-24 17:32:47384 days ago1690219967IN
0xc9ab5439...5Efb1Ce16
0 ETH0.0028662160.24621934
Release168027412023-03-11 5:23:35520 days ago1678512215IN
0xc9ab5439...5Efb1Ce16
0 ETH0.00533614112.16273781
Release160356172022-11-23 22:19:11627 days ago1669241951IN
0xc9ab5439...5Efb1Ce16
0 ETH0.0006365713.38050385
Release160073512022-11-19 23:29:47631 days ago1668900587IN
0xc9ab5439...5Efb1Ce16
0 ETH0.0007017314.75
Release154998032022-09-09 0:52:27703 days ago1662684747IN
0xc9ab5439...5Efb1Ce16
0 ETH0.000760315.98116664
Transfer152814582022-08-05 9:22:50738 days ago1659691370IN
0xc9ab5439...5Efb1Ce16
0.0007401 ETH0.0003569915.7356382
Transfer152726342022-08-04 0:17:02739 days ago1659572222IN
0xc9ab5439...5Efb1Ce16
0.00645 ETH0.000281412.40386803
Transfer150162362022-06-24 3:10:19780 days ago1656040219IN
0xc9ab5439...5Efb1Ce16
0.06395 ETH0.0006769529.83896742
Transfer150154152022-06-23 23:31:53780 days ago1656027113IN
0xc9ab5439...5Efb1Ce16
0.14048 ETH0.0009672242.63323451
Transfer149632402022-06-14 18:45:15789 days ago1655232315IN
0xc9ab5439...5Efb1Ce16
0.069935 ETH0.0008204136.16239986
Release149226652022-06-07 19:53:15796 days ago1654631595IN
0xc9ab5439...5Efb1Ce16
0 ETH0.00483362101.6
Transfer148968492022-06-03 11:29:39800 days ago1654255779IN
0xc9ab5439...5Efb1Ce16
0.04271 ETH0.0011272249.68593674
Transfer148371422022-05-24 18:01:59810 days ago1653415319IN
0xc9ab5439...5Efb1Ce16
0.03966 ETH0.0010092944.48774683
Transfer147918192022-05-17 9:44:33818 days ago1652780673IN
0xc9ab5439...5Efb1Ce16
0.043955 ETH0.0006310127.81415157
Transfer147442142022-05-09 19:35:56825 days ago1652124956IN
0xc9ab5439...5Efb1Ce16
0.0976695 ETH0.00388632171.30200078
Transfer147178392022-05-05 14:47:53829 days ago1651762073IN
0xc9ab5439...5Efb1Ce16
0.025725 ETH0.0016984374.86370277
Transfer146481812022-04-24 15:18:06840 days ago1650813486IN
0xc9ab5439...5Efb1Ce16
0.02729 ETH0.0011147649.13691772
Transfer146122872022-04-19 0:09:49846 days ago1650326989IN
0xc9ab5439...5Efb1Ce16
0.03852 ETH0.0006074326.77472083
Transfer145706492022-04-12 12:20:25852 days ago1649766025IN
0xc9ab5439...5Efb1Ce16
0.05155 ETH0.0010162144.79276394
Transfer145449742022-04-08 11:55:38856 days ago1649418938IN
0xc9ab5439...5Efb1Ce16
0.089 ETH0.0008293836.55780234
Transfer145377522022-04-07 8:45:30858 days ago1649321130IN
0xc9ab5439...5Efb1Ce16
0.04565 ETH0.001003344.22359468
Transfer145171962022-04-04 3:42:34861 days ago1649043754IN
0xc9ab5439...5Efb1Ce16
0.048995 ETH0.0010776647.5014226
Transfer145158722022-04-03 22:40:28861 days ago1649025628IN
0xc9ab5439...5Efb1Ce16
0.01945 ETH0.0009390141.390028
Transfer144830732022-03-29 19:46:19866 days ago1648583179IN
0xc9ab5439...5Efb1Ce16
0.34816 ETH0.0011961352.72318608
Transfer144699192022-03-27 18:33:16868 days ago1648405996IN
0xc9ab5439...5Efb1Ce16
0.04075 ETH0.0007435132.77254778
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
196349522024-04-11 21:07:35122 days ago1712869655
0xc9ab5439...5Efb1Ce16
0.00075 ETH
193953582024-03-09 5:08:59156 days ago1709960939
0xc9ab5439...5Efb1Ce16
0.00017 ETH
180896272023-09-08 5:30:23339 days ago1694151023
0xc9ab5439...5Efb1Ce16
0.007 ETH
177970242023-07-29 6:51:11380 days ago1690613471
0xc9ab5439...5Efb1Ce16
0.00034 ETH
177970242023-07-29 6:51:11380 days ago1690613471
0xc9ab5439...5Efb1Ce16
0.00034 ETH
177970242023-07-29 6:51:11380 days ago1690613471
0xc9ab5439...5Efb1Ce16
0.0000335 ETH
177644742023-07-24 17:32:47384 days ago1690219967
0xc9ab5439...5Efb1Ce16
0.11270509 ETH
177585352023-07-23 21:36:35385 days ago1690148195
0xc9ab5439...5Efb1Ce16
0.0000335 ETH
177397262023-07-21 6:27:23388 days ago1689920843
0xc9ab5439...5Efb1Ce16
0.011 ETH
176193342023-07-04 8:20:35405 days ago1688458835
0xc9ab5439...5Efb1Ce16
0.0125 ETH
176019522023-07-01 21:44:47407 days ago1688247887
0xc9ab5439...5Efb1Ce16
0.001 ETH
175511932023-06-24 18:36:11414 days ago1687631771
0xc9ab5439...5Efb1Ce16
0.00125 ETH
175184922023-06-20 4:19:47419 days ago1687234787
0xc9ab5439...5Efb1Ce16
0.0035 ETH
174942252023-06-16 18:37:35422 days ago1686940655
0xc9ab5439...5Efb1Ce16
0.00044 ETH
174199232023-06-06 7:26:11433 days ago1686036371
0xc9ab5439...5Efb1Ce16
0.00345 ETH
173687422023-05-30 2:19:47440 days ago1685413187
0xc9ab5439...5Efb1Ce16
0.0003425 ETH
171716002023-05-02 7:26:23468 days ago1683012383
0xc9ab5439...5Efb1Ce16
0.000365 ETH
170904792023-04-20 21:58:11479 days ago1682027891
0xc9ab5439...5Efb1Ce16
0.00155 ETH
170731142023-04-18 10:55:35481 days ago1681815335
0xc9ab5439...5Efb1Ce16
0.000299 ETH
170629752023-04-17 0:29:23483 days ago1681691363
0xc9ab5439...5Efb1Ce16
0.0006975 ETH
169947332023-04-07 6:03:23493 days ago1680847403
0xc9ab5439...5Efb1Ce16
0.00045 ETH
169746822023-04-04 9:35:47496 days ago1680600947
0xc9ab5439...5Efb1Ce16
0.0005 ETH
169555212023-04-01 16:35:47498 days ago1680366947
0xc9ab5439...5Efb1Ce16
0.000015 ETH
168854932023-03-22 20:25:47508 days ago1679516747
0xc9ab5439...5Efb1Ce16
0.000595 ETH
168536052023-03-18 8:59:11513 days ago1679129951
0xc9ab5439...5Efb1Ce16
0.001 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ShareSplitter

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : ShareSplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

/**
 * @title ShareSplitter
 * @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.
 *
 * `ShareSplitter` 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.
 */
contract ShareSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PayeeReplaced(address from, address to);
    event PaymentReleased(address sender, 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;

    /**
     * @dev Creates an instance of `ShareSplitter` 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 {
        // solhint-disable-next-line max-line-length
        require(payees.length == shares_.length, "ShareSplitter: payees and shares length mismatch");
        require(payees.length > 0, "ShareSplitter: 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 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 address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

     /**
     * @dev Setter for the address of the payee number `index`.
     */
    function replacePayee(uint256 index, address newPayee) public {
        require(_payees[index] == _msgSender(), "You do not have permission for this payee");
        require(_shares[_msgSender()] > 0, "ShareSplitter: account has no shares");
        require(newPayee != address(0), "ShareSplitter: newPayee is the zero address");
        require(_shares[newPayee] == 0, "ShareSplitter: newPayee already has shares");
        
        _shares[newPayee] = _shares[_msgSender()];
        _released[newPayee] = _released[_msgSender()];
        _shares[_msgSender()] = 0;
        _released[_msgSender()] = 0;
        _payees[index] = newPayee;
        emit PayeeReplaced(_msgSender(), newPayee);
    }

    /**
     * @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[_msgSender()] > 0, "ShareSplitter: sender has no shares");

        uint256 totalReceived = address(this).balance + _totalReleased;
        uint256 payment = totalReceived * _shares[_msgSender()] / _totalShares - _released[_msgSender()];

        require(payment != 0, "ShareSplitter: sender is not due payment");

        _released[_msgSender()] = _released[_msgSender()] + payment;
        _totalReleased = _totalReleased + payment;

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

    /**
     * @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), "ShareSplitter: account is the zero address");
        require(shares_ > 0, "ShareSplitter: shares are 0");
        require(_shares[account] == 0, "ShareSplitter: account already has shares");

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

File 2 of 4 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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

File 3 of 4 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 4 of 4 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

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":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":"address","name":"to","type":"address"}],"name":"PayeeReplaced","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":"sender","type":"address"},{"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":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"newPayee","type":"address"}],"name":"replacePayee","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":[],"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"}]

608060405260405162001f9938038062001f99833981810160405281019062000029919062000523565b805182511462000070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000067906200070e565b60405180910390fd5b6000825111620000b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ae90620006a8565b60405180910390fd5b60005b82518110156200016e576200015883828151811062000102577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000144577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200017760201b60201c565b80806200016590620008bb565b915050620000ba565b50505062000aeb565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620001ea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001e19062000730565b60405180910390fd5b6000811162000230576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200022790620006ca565b60405180910390fd5b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620002b5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ac90620006ec565b60405180910390fd5b6004829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806000546200036c9190620007ea565b6000819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620003a59291906200067b565b60405180910390a15050565b6000620003c8620003c2846200077b565b62000752565b90508083825260208201905082856020860282011115620003e857600080fd5b60005b858110156200041c57816200040188826200049b565b845260208401935060208301925050600181019050620003eb565b5050509392505050565b60006200043d6200043784620007aa565b62000752565b905080838252602082019050828560208602820111156200045d57600080fd5b60005b858110156200049157816200047688826200050c565b84526020840193506020830192505060018101905062000460565b5050509392505050565b600081519050620004ac8162000ab7565b92915050565b600082601f830112620004c457600080fd5b8151620004d6848260208601620003b1565b91505092915050565b600082601f830112620004f157600080fd5b81516200050384826020860162000426565b91505092915050565b6000815190506200051d8162000ad1565b92915050565b600080604083850312156200053757600080fd5b600083015167ffffffffffffffff8111156200055257600080fd5b6200056085828601620004b2565b925050602083015167ffffffffffffffff8111156200057e57600080fd5b6200058c85828601620004df565b9150509250929050565b620005a18162000847565b82525050565b6000620005b6601883620007d9565b9150620005c38262000978565b602082019050919050565b6000620005dd601b83620007d9565b9150620005ea82620009a1565b602082019050919050565b600062000604602983620007d9565b91506200061182620009ca565b604082019050919050565b60006200062b603083620007d9565b9150620006388262000a19565b604082019050919050565b600062000652602a83620007d9565b91506200065f8262000a68565b604082019050919050565b62000675816200087b565b82525050565b600060408201905062000692600083018562000596565b620006a160208301846200066a565b9392505050565b60006020820190508181036000830152620006c381620005a7565b9050919050565b60006020820190508181036000830152620006e581620005ce565b9050919050565b600060208201905081810360008301526200070781620005f5565b9050919050565b6000602082019050818103600083015262000729816200061c565b9050919050565b600060208201905081810360008301526200074b8162000643565b9050919050565b60006200075e62000771565b90506200076c828262000885565b919050565b6000604051905090565b600067ffffffffffffffff82111562000799576200079862000938565b5b602082029050602081019050919050565b600067ffffffffffffffff821115620007c857620007c762000938565b5b602082029050602081019050919050565b600082825260208201905092915050565b6000620007f7826200087b565b915062000804836200087b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200083c576200083b62000909565b5b828201905092915050565b600062000854826200085b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b620008908262000967565b810181811067ffffffffffffffff82111715620008b257620008b162000938565b5b80604052505050565b6000620008c8826200087b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620008fe57620008fd62000909565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f536861726553706c69747465723a206e6f207061796565730000000000000000600082015250565b7f536861726553706c69747465723a207368617265732061726520300000000000600082015250565b7f536861726553706c69747465723a206163636f756e7420616c7265616479206860008201527f6173207368617265730000000000000000000000000000000000000000000000602082015250565b7f536861726553706c69747465723a2070617965657320616e642073686172657360008201527f206c656e677468206d69736d6174636800000000000000000000000000000000602082015250565b7f536861726553706c69747465723a206163636f756e7420697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b62000ac28162000847565b811462000ace57600080fd5b50565b62000adc816200087b565b811462000ae857600080fd5b50565b61149e8062000afb6000396000f3fe6080604052600436106100745760003560e01c80638b83209b1161004e5780638b83209b1461013d5780639852595c1461017a578063ce7c2ac2146101b7578063e33b7de3146101f4576100bb565b806319165587146100c05780633a98ef39146100e957806377aa8cd114610114576100bb565b366100bb577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706100a261021f565b346040516100b1929190610e77565b60405180910390a1005b600080fd5b3480156100cc57600080fd5b506100e760048036038101906100e29190610bf1565b610227565b005b3480156100f557600080fd5b506100fe6104bb565b60405161010b9190610fa0565b60405180910390f35b34801561012057600080fd5b5061013b60048036038101906101369190610c43565b6104c4565b005b34801561014957600080fd5b50610164600480360381019061015f9190610c1a565b61098b565b6040516101719190610dfc565b60405180910390f35b34801561018657600080fd5b506101a1600480360381019061019c9190610bc8565b6109f9565b6040516101ae9190610fa0565b60405180910390f35b3480156101c357600080fd5b506101de60048036038101906101d99190610bc8565b610a42565b6040516101eb9190610fa0565b60405180910390f35b34801561020057600080fd5b50610209610a8b565b6040516102169190610fa0565b60405180910390f35b600033905090565b60006002600061023561021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116102b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a790610ea0565b60405180910390fd5b6000600154476102c09190610fd7565b90506000600360006102d061021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546000546002600061031a61021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610360919061105e565b61036a919061102d565b61037491906110b8565b905060008114156103ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b190610f00565b60405180910390fd5b80600360006103c761021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461040c9190610fd7565b6003600061041861021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806001546104649190610fd7565b6001819055506104748382610a95565b7f8ac5b3c2902b21b6bbb4d99ec195e28a242cb6a1777804db10b84d91e200642961049d61021f565b84836040516104ae93929190610e40565b60405180910390a1505050565b60008054905090565b6104cc61021f565b73ffffffffffffffffffffffffffffffffffffffff166004838154811061051c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461059d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059490610f60565b60405180910390fd5b6000600260006105ab61021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061d90610f20565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068d90610f40565b60405180910390fd5b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070f90610f80565b60405180910390fd5b6002600061072461021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360006107ae61021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006002600061083a61021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006003600061088661021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600483815481106108ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9933638bb6653f5ef3e0709224c942147902ed213c27017bba2d044c7636f3a361097061021f565b8260405161097f929190610e17565b60405180910390a15050565b6000600482815481106109c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600154905090565b80471015610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf90610ee0565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610afe90610de7565b60006040518083038185875af1925050503d8060008114610b3b576040519150601f19603f3d011682016040523d82523d6000602084013e610b40565b606091505b5050905080610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90610ec0565b60405180910390fd5b505050565b600081359050610b9881611423565b92915050565b600081359050610bad8161143a565b92915050565b600081359050610bc281611451565b92915050565b600060208284031215610bda57600080fd5b6000610be884828501610b89565b91505092915050565b600060208284031215610c0357600080fd5b6000610c1184828501610b9e565b91505092915050565b600060208284031215610c2c57600080fd5b6000610c3a84828501610bb3565b91505092915050565b60008060408385031215610c5657600080fd5b6000610c6485828601610bb3565b9250506020610c7585828601610b89565b9150509250929050565b610c888161113a565b82525050565b610c97816110ec565b82525050565b6000610caa602383610fc6565b9150610cb5826111ce565b604082019050919050565b6000610ccd603a83610fc6565b9150610cd88261121d565b604082019050919050565b6000610cf0601d83610fc6565b9150610cfb8261126c565b602082019050919050565b6000610d13602883610fc6565b9150610d1e82611295565b604082019050919050565b6000610d36602483610fc6565b9150610d41826112e4565b604082019050919050565b6000610d59602b83610fc6565b9150610d6482611333565b604082019050919050565b6000610d7c602983610fc6565b9150610d8782611382565b604082019050919050565b6000610d9f600083610fbb565b9150610daa826113d1565b600082019050919050565b6000610dc2602a83610fc6565b9150610dcd826113d4565b604082019050919050565b610de181611130565b82525050565b6000610df282610d92565b9150819050919050565b6000602082019050610e116000830184610c8e565b92915050565b6000604082019050610e2c6000830185610c8e565b610e396020830184610c8e565b9392505050565b6000606082019050610e556000830186610c8e565b610e626020830185610c7f565b610e6f6040830184610dd8565b949350505050565b6000604082019050610e8c6000830185610c8e565b610e996020830184610dd8565b9392505050565b60006020820190508181036000830152610eb981610c9d565b9050919050565b60006020820190508181036000830152610ed981610cc0565b9050919050565b60006020820190508181036000830152610ef981610ce3565b9050919050565b60006020820190508181036000830152610f1981610d06565b9050919050565b60006020820190508181036000830152610f3981610d29565b9050919050565b60006020820190508181036000830152610f5981610d4c565b9050919050565b60006020820190508181036000830152610f7981610d6f565b9050919050565b60006020820190508181036000830152610f9981610db5565b9050919050565b6000602082019050610fb56000830184610dd8565b92915050565b600081905092915050565b600082825260208201905092915050565b6000610fe282611130565b9150610fed83611130565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561102257611021611170565b5b828201905092915050565b600061103882611130565b915061104383611130565b9250826110535761105261119f565b5b828204905092915050565b600061106982611130565b915061107483611130565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156110ad576110ac611170565b5b828202905092915050565b60006110c382611130565b91506110ce83611130565b9250828210156110e1576110e0611170565b5b828203905092915050565b60006110f782611110565b9050919050565b600061110982611110565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006111458261114c565b9050919050565b60006111578261115e565b9050919050565b600061116982611110565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f536861726553706c69747465723a2073656e64657220686173206e6f2073686160008201527f7265730000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f536861726553706c69747465723a2073656e646572206973206e6f742064756560008201527f207061796d656e74000000000000000000000000000000000000000000000000602082015250565b7f536861726553706c69747465723a206163636f756e7420686173206e6f20736860008201527f6172657300000000000000000000000000000000000000000000000000000000602082015250565b7f536861726553706c69747465723a206e6577506179656520697320746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f596f7520646f206e6f742068617665207065726d697373696f6e20666f72207460008201527f6869732070617965650000000000000000000000000000000000000000000000602082015250565b50565b7f536861726553706c69747465723a206e6577506179656520616c72656164792060008201527f6861732073686172657300000000000000000000000000000000000000000000602082015250565b61142c816110ec565b811461143757600080fd5b50565b611443816110fe565b811461144e57600080fd5b50565b61145a81611130565b811461146557600080fd5b5056fea2646970667358221220023ae49d147ea1b66820151d457b3821dd2ca986a56f0718a3a8fd93cc996b5d64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000500000000000000000000000016cc01bc2928b6ad32595946b478d42b8d93b9200000000000000000000000004da62fc8ae2842e6bc0ba6e9ee20386bbbb7ac880000000000000000000000008776c6c0a3dfe44a1f95bd9c2283c57106d0dbea00000000000000000000000065e7c49b34e0c47095364c96937c0d08b620be80000000000000000000000000941a9cef57fc35b85f40109d37792191600f6839000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000610000000000000000000000000000000000000000000000000000000000000061000000000000000000000000000000000000000000000000000000000000006100000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003

Deployed Bytecode

0x6080604052600436106100745760003560e01c80638b83209b1161004e5780638b83209b1461013d5780639852595c1461017a578063ce7c2ac2146101b7578063e33b7de3146101f4576100bb565b806319165587146100c05780633a98ef39146100e957806377aa8cd114610114576100bb565b366100bb577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706100a261021f565b346040516100b1929190610e77565b60405180910390a1005b600080fd5b3480156100cc57600080fd5b506100e760048036038101906100e29190610bf1565b610227565b005b3480156100f557600080fd5b506100fe6104bb565b60405161010b9190610fa0565b60405180910390f35b34801561012057600080fd5b5061013b60048036038101906101369190610c43565b6104c4565b005b34801561014957600080fd5b50610164600480360381019061015f9190610c1a565b61098b565b6040516101719190610dfc565b60405180910390f35b34801561018657600080fd5b506101a1600480360381019061019c9190610bc8565b6109f9565b6040516101ae9190610fa0565b60405180910390f35b3480156101c357600080fd5b506101de60048036038101906101d99190610bc8565b610a42565b6040516101eb9190610fa0565b60405180910390f35b34801561020057600080fd5b50610209610a8b565b6040516102169190610fa0565b60405180910390f35b600033905090565b60006002600061023561021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116102b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a790610ea0565b60405180910390fd5b6000600154476102c09190610fd7565b90506000600360006102d061021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546000546002600061031a61021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610360919061105e565b61036a919061102d565b61037491906110b8565b905060008114156103ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b190610f00565b60405180910390fd5b80600360006103c761021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461040c9190610fd7565b6003600061041861021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806001546104649190610fd7565b6001819055506104748382610a95565b7f8ac5b3c2902b21b6bbb4d99ec195e28a242cb6a1777804db10b84d91e200642961049d61021f565b84836040516104ae93929190610e40565b60405180910390a1505050565b60008054905090565b6104cc61021f565b73ffffffffffffffffffffffffffffffffffffffff166004838154811061051c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461059d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059490610f60565b60405180910390fd5b6000600260006105ab61021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061d90610f20565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068d90610f40565b60405180910390fd5b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070f90610f80565b60405180910390fd5b6002600061072461021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360006107ae61021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006002600061083a61021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006003600061088661021f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600483815481106108ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9933638bb6653f5ef3e0709224c942147902ed213c27017bba2d044c7636f3a361097061021f565b8260405161097f929190610e17565b60405180910390a15050565b6000600482815481106109c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600154905090565b80471015610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf90610ee0565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610afe90610de7565b60006040518083038185875af1925050503d8060008114610b3b576040519150601f19603f3d011682016040523d82523d6000602084013e610b40565b606091505b5050905080610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90610ec0565b60405180910390fd5b505050565b600081359050610b9881611423565b92915050565b600081359050610bad8161143a565b92915050565b600081359050610bc281611451565b92915050565b600060208284031215610bda57600080fd5b6000610be884828501610b89565b91505092915050565b600060208284031215610c0357600080fd5b6000610c1184828501610b9e565b91505092915050565b600060208284031215610c2c57600080fd5b6000610c3a84828501610bb3565b91505092915050565b60008060408385031215610c5657600080fd5b6000610c6485828601610bb3565b9250506020610c7585828601610b89565b9150509250929050565b610c888161113a565b82525050565b610c97816110ec565b82525050565b6000610caa602383610fc6565b9150610cb5826111ce565b604082019050919050565b6000610ccd603a83610fc6565b9150610cd88261121d565b604082019050919050565b6000610cf0601d83610fc6565b9150610cfb8261126c565b602082019050919050565b6000610d13602883610fc6565b9150610d1e82611295565b604082019050919050565b6000610d36602483610fc6565b9150610d41826112e4565b604082019050919050565b6000610d59602b83610fc6565b9150610d6482611333565b604082019050919050565b6000610d7c602983610fc6565b9150610d8782611382565b604082019050919050565b6000610d9f600083610fbb565b9150610daa826113d1565b600082019050919050565b6000610dc2602a83610fc6565b9150610dcd826113d4565b604082019050919050565b610de181611130565b82525050565b6000610df282610d92565b9150819050919050565b6000602082019050610e116000830184610c8e565b92915050565b6000604082019050610e2c6000830185610c8e565b610e396020830184610c8e565b9392505050565b6000606082019050610e556000830186610c8e565b610e626020830185610c7f565b610e6f6040830184610dd8565b949350505050565b6000604082019050610e8c6000830185610c8e565b610e996020830184610dd8565b9392505050565b60006020820190508181036000830152610eb981610c9d565b9050919050565b60006020820190508181036000830152610ed981610cc0565b9050919050565b60006020820190508181036000830152610ef981610ce3565b9050919050565b60006020820190508181036000830152610f1981610d06565b9050919050565b60006020820190508181036000830152610f3981610d29565b9050919050565b60006020820190508181036000830152610f5981610d4c565b9050919050565b60006020820190508181036000830152610f7981610d6f565b9050919050565b60006020820190508181036000830152610f9981610db5565b9050919050565b6000602082019050610fb56000830184610dd8565b92915050565b600081905092915050565b600082825260208201905092915050565b6000610fe282611130565b9150610fed83611130565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561102257611021611170565b5b828201905092915050565b600061103882611130565b915061104383611130565b9250826110535761105261119f565b5b828204905092915050565b600061106982611130565b915061107483611130565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156110ad576110ac611170565b5b828202905092915050565b60006110c382611130565b91506110ce83611130565b9250828210156110e1576110e0611170565b5b828203905092915050565b60006110f782611110565b9050919050565b600061110982611110565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006111458261114c565b9050919050565b60006111578261115e565b9050919050565b600061116982611110565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f536861726553706c69747465723a2073656e64657220686173206e6f2073686160008201527f7265730000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f536861726553706c69747465723a2073656e646572206973206e6f742064756560008201527f207061796d656e74000000000000000000000000000000000000000000000000602082015250565b7f536861726553706c69747465723a206163636f756e7420686173206e6f20736860008201527f6172657300000000000000000000000000000000000000000000000000000000602082015250565b7f536861726553706c69747465723a206e6577506179656520697320746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f596f7520646f206e6f742068617665207065726d697373696f6e20666f72207460008201527f6869732070617965650000000000000000000000000000000000000000000000602082015250565b50565b7f536861726553706c69747465723a206e6577506179656520616c72656164792060008201527f6861732073686172657300000000000000000000000000000000000000000000602082015250565b61142c816110ec565b811461143757600080fd5b50565b611443816110fe565b811461144e57600080fd5b50565b61145a81611130565b811461146557600080fd5b5056fea2646970667358221220023ae49d147ea1b66820151d457b3821dd2ca986a56f0718a3a8fd93cc996b5d64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000500000000000000000000000016cc01bc2928b6ad32595946b478d42b8d93b9200000000000000000000000004da62fc8ae2842e6bc0ba6e9ee20386bbbb7ac880000000000000000000000008776c6c0a3dfe44a1f95bd9c2283c57106d0dbea00000000000000000000000065e7c49b34e0c47095364c96937c0d08b620be80000000000000000000000000941a9cef57fc35b85f40109d37792191600f6839000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000610000000000000000000000000000000000000000000000000000000000000061000000000000000000000000000000000000000000000000000000000000006100000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003

-----Decoded View---------------
Arg [0] : payees (address[]): 0x16Cc01Bc2928B6ad32595946b478D42B8D93b920,0x4DA62fc8AE2842e6Bc0bA6e9Ee20386BbBB7aC88,0x8776c6C0a3DfE44a1F95BD9C2283c57106D0DBEa,0x65E7C49b34e0C47095364C96937C0d08b620be80,0x941a9CEf57FC35B85f40109D37792191600F6839
Arg [1] : shares_ (uint256[]): 97,97,97,6,3

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 00000000000000000000000016cc01bc2928b6ad32595946b478d42b8d93b920
Arg [4] : 0000000000000000000000004da62fc8ae2842e6bc0ba6e9ee20386bbbb7ac88
Arg [5] : 0000000000000000000000008776c6c0a3dfe44a1f95bd9c2283c57106d0dbea
Arg [6] : 00000000000000000000000065e7c49b34e0c47095364c96937c0d08b620be80
Arg [7] : 000000000000000000000000941a9cef57fc35b85f40109d37792191600f6839
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000061
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000061
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000061
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000003


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.