ETH Price: $2,522.09 (+0.20%)

Contract

0x09dcdeeD84106f894412228479CAfFC3dD70199F
 

Overview

ETH Balance

5.677293262080116994 ETH

Eth Value

$14,318.66 (@ $2,522.09/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...168217052023-03-13 21:21:11536 days ago1678742471IN
0x09dcdeeD...3dD70199F
0 ETH0.000755725.9790406
Add Recipient168217032023-03-13 21:20:47536 days ago1678742447IN
0x09dcdeeD...3dD70199F
0 ETH0.0022247727.69404116
Add Recipient168217022023-03-13 21:20:35536 days ago1678742435IN
0x09dcdeeD...3dD70199F
0 ETH0.0021983227.36078676
Add Recipient168217002023-03-13 21:20:11536 days ago1678742411IN
0x09dcdeeD...3dD70199F
0 ETH0.0023247828.93460923
Add Recipient168216992023-03-13 21:19:59536 days ago1678742399IN
0x09dcdeeD...3dD70199F
0 ETH0.0031888827.83931027
0x60806040168201572023-03-13 16:08:35536 days ago1678723715IN
 Create: FeeSplitter
0 ETH0.1160617571.87069326

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
206117312024-08-26 9:00:474 days ago1724662847
0x09dcdeeD...3dD70199F
0.100615 ETH
205765622024-08-21 11:00:479 days ago1724238047
0x09dcdeeD...3dD70199F
0.10101482 ETH
205476092024-08-17 10:00:3513 days ago1723888835
0x09dcdeeD...3dD70199F
0.101117 ETH
205168772024-08-13 3:00:3518 days ago1723518035
0x09dcdeeD...3dD70199F
0.10235168 ETH
204726742024-08-06 23:00:3524 days ago1722985235
0x09dcdeeD...3dD70199F
0.1003728 ETH
203771582024-07-24 15:00:3537 days ago1721833235
0x09dcdeeD...3dD70199F
0.10004768 ETH
202473272024-07-06 12:00:3555 days ago1720267235
0x09dcdeeD...3dD70199F
0.10027904 ETH
198981802024-05-18 17:00:35104 days ago1716051635
0x09dcdeeD...3dD70199F
0.10030712 ETH
196185442024-04-09 14:00:59143 days ago1712671259
0x09dcdeeD...3dD70199F
0.10002448 ETH
195181792024-03-26 11:00:35157 days ago1711450835
0x09dcdeeD...3dD70199F
0.10105613 ETH
194553152024-03-17 15:00:47166 days ago1710687647
0x09dcdeeD...3dD70199F
0.10116143 ETH
193880242024-03-08 4:20:11175 days ago1709871611
0x09dcdeeD...3dD70199F
0.10057525 ETH
192940242024-02-24 1:00:47189 days ago1708736447
0x09dcdeeD...3dD70199F
0.10108742 ETH
192263682024-02-14 13:00:35198 days ago1707915635
0x09dcdeeD...3dD70199F
0.10054107 ETH
191482842024-02-03 14:00:35209 days ago1706968835
0x09dcdeeD...3dD70199F
0.10037198 ETH
190644962024-01-22 20:01:11221 days ago1705953671
0x09dcdeeD...3dD70199F
0.10102012 ETH
189805792024-01-11 2:00:35233 days ago1704938435
0x09dcdeeD...3dD70199F
0.10050289 ETH
189038392023-12-31 7:00:35243 days ago1704006035
0x09dcdeeD...3dD70199F
0.10106199 ETH
188408232023-12-22 10:35:11252 days ago1703241311
0x09dcdeeD...3dD70199F
0.08124343 ETH
187387382023-12-08 3:03:47267 days ago1702004627
0x09dcdeeD...3dD70199F
0.10131491 ETH
186762372023-11-29 9:00:35275 days ago1701248435
0x09dcdeeD...3dD70199F
0.10051265 ETH
186313162023-11-23 2:00:35282 days ago1700704835
0x09dcdeeD...3dD70199F
0.10050078 ETH
185905672023-11-17 9:00:35287 days ago1700211635
0x09dcdeeD...3dD70199F
0.10087188 ETH
185503372023-11-11 18:00:35293 days ago1699725635
0x09dcdeeD...3dD70199F
0.10211484 ETH
183184252023-10-10 7:00:35325 days ago1696921235
0x09dcdeeD...3dD70199F
0.34228274 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FeeSplitter

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : ETHFeeSplitter.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract FeeSplitter is Ownable {
    using SafeERC20 for IERC20;

    struct Recipient {
        address account;
        uint256 share;
    }

    bool internal entered;

    uint256 public totalShares;
    Recipient[] public recipients;

    receive() external payable {}

    function distribute() external {
        require(!entered, "REENTERED");
        entered = true;

        uint256 balance = address(this).balance;
        require(balance > 0, "NO_ETH");

        uint256 shares = totalShares;

        Recipient[] memory recipientsList = recipients;
        uint256 length = recipientsList.length;

        for (uint256 i; i < length; ++i) {
            Recipient memory recipient = recipientsList[i];
            (bool success, bytes memory result) = recipient.account.call{
                value: (balance * recipient.share) / shares
            }("");
            if (!success) {
                assembly {
                    revert(add(result, 32), mload(result))
                }
            }
        }

        entered = false;
    }

    function addRecipient(Recipient calldata _recipient) external onlyOwner {
        require(_recipient.share > 0, "INVALID_SHARE");
        require(_recipient.account != address(0), "INVALID_ACCOUNT");

        totalShares += _recipient.share;
        recipients.push(_recipient);
    }

    function removeRecipient(uint256 _idx) external onlyOwner {
        uint256 length = recipients.length;
        require(_idx < length, "INVALID_IDX");

        totalShares -= recipients[_idx].share;

        if (_idx == length - 1) recipients.pop();
        else {
            recipients[_idx] = recipients[length - 1];
            recipients.pop();
        }
    }

    function changeRecipientShare(uint256 _idx, uint256 _newShares)
        external
        onlyOwner
    {
        uint256 length = recipients.length;
        require(_idx < length, "INVALID_IDX");

        totalShares = totalShares + _newShares - recipients[_idx].share;
    }

    function rescueToken(IERC20 _token, uint256 _amount) external onlyOwner {
        _token.safeTransfer(owner(), _amount);
    }

    function rescueETH(uint256 _amount) external onlyOwner {
        (bool success, bytes memory result) = msg.sender.call{value: _amount}(
            ""
        );
        if (!success) {
            assembly {
                revert(add(result, 32), mload(result))
            }
        }
    }
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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 4 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

File 5 of 7 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 6 of 7 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"share","type":"uint256"}],"internalType":"struct FeeSplitter.Recipient","name":"_recipient","type":"tuple"}],"name":"addRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_idx","type":"uint256"},{"internalType":"uint256","name":"_newShares","type":"uint256"}],"name":"changeRecipientShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"recipients","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"share","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_idx","type":"uint256"}],"name":"removeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b6100fe565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611be78061010d6000396000f3fe6080604052600436106100a05760003560e01c80639e252f00116100645780639e252f001461016b578063bfa707b014610194578063d1bc76a1146101bd578063da4bd2df146101fb578063e4fc6b6d14610224578063f2fde38b1461023b576100a7565b806333f3d628146100ac5780633a98ef39146100d5578063715018a6146101005780638da5cb5b146101175780638e69e25514610142576100a7565b366100a757005b600080fd5b3480156100b857600080fd5b506100d360048036038101906100ce9190610fdb565b610264565b005b3480156100e157600080fd5b506100ea6102a2565b6040516100f79190611490565b60405180910390f35b34801561010c57600080fd5b506101156102a8565b005b34801561012357600080fd5b5061012c6102bc565b60405161013991906112ea565b60405180910390f35b34801561014e57600080fd5b5061016960048036038101906101649190611048565b6102e5565b005b34801561017757600080fd5b50610192600480360381019061018d9190611048565b61050d565b005b3480156101a057600080fd5b506101bb60048036038101906101b6919061101b565b610595565b005b3480156101c957600080fd5b506101e460048036038101906101df9190611048565b6106c0565b6040516101f2929190611305565b60405180910390f35b34801561020757600080fd5b50610222600480360381019061021d9190611075565b610714565b005b34801561023057600080fd5b506102396107b1565b005b34801561024757600080fd5b50610262600480360381019061025d9190610f81565b610a25565b005b61026c610aa9565b61029e6102776102bc565b828473ffffffffffffffffffffffffffffffffffffffff16610b279092919063ffffffff16565b5050565b60015481565b6102b0610aa9565b6102ba6000610bad565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6102ed610aa9565b60006002805490509050808210610339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033090611470565b60405180910390fd5b6002828154811061034d5761034c6117e3565b5b9060005260206000209060020201600101546001600082825461037091906115be565b9250508190555060018161038491906115be565b8214156103ea57600280548061039d5761039c6117b4565b5b6001900381819060005260206000209060020201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905550509055610509565b60026001826103f991906115be565b8154811061040a576104096117e3565b5b90600052602060002090600202016002838154811061042c5761042b6117e3565b5b90600052602060002090600202016000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001820154816001015590505060028054806104c0576104bf6117b4565b5b6001900381819060005260206000209060020201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055505090555b5050565b610515610aa9565b6000803373ffffffffffffffffffffffffffffffffffffffff168360405161053c906112d5565b60006040518083038185875af1925050503d8060008114610579576040519150601f19603f3d011682016040523d82523d6000602084013e61057e565b606091505b50915091508161059057805160208201fd5b505050565b61059d610aa9565b60008160200135116105e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105db906113d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1681600001602081019061060f9190610f81565b73ffffffffffffffffffffffffffffffffffffffff161415610666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065d90611450565b60405180910390fd5b80602001356001600082825461067c91906114dd565b92505081905550600281908060018154018082558091505060019003906000526020600020906002020160009091909190915081816106bb9190611b24565b505050565b600281815481106106d057600080fd5b90600052602060002090600202016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b61071c610aa9565b60006002805490509050808310610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f90611470565b60405180910390fd5b6002838154811061077c5761077b6117e3565b5b9060005260206000209060020201600101548260015461079c91906114dd565b6107a691906115be565b600181905550505050565b600060149054906101000a900460ff1615610801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f890611390565b60405180910390fd5b6001600060146101000a81548160ff021916908315150217905550600047905060008111610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085b906113b0565b60405180910390fd5b6000600154905060006002805480602002602001604051908101604052809291908181526020016000905b8282101561092157838290600052602060002090600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250508152602001906001019061088f565b50505050905060008151905060005b81811015610a0457600083828151811061094d5761094c6117e3565b5b60200260200101519050600080826000015173ffffffffffffffffffffffffffffffffffffffff168784602001518a6109869190611564565b6109909190611533565b60405161099c906112d5565b60006040518083038185875af1925050503d80600081146109d9576040519150601f19603f3d011682016040523d82523d6000602084013e6109de565b606091505b5091509150816109f057805160208201fd5b505050806109fd9061170d565b9050610930565b5060008060146101000a81548160ff02191690831515021790555050505050565b610a2d610aa9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9490611350565b60405180910390fd5b610aa681610bad565b50565b610ab1610c71565b73ffffffffffffffffffffffffffffffffffffffff16610acf6102bc565b73ffffffffffffffffffffffffffffffffffffffff1614610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c906113f0565b60405180910390fd5b565b610ba88363a9059cbb60e01b8484604051602401610b46929190611305565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610c79565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000610cdb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610d409092919063ffffffff16565b9050600081511115610d3b5780806020019051810190610cfb9190610fae565b610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190611430565b60405180910390fd5b5b505050565b6060610d4f8484600085610d58565b90509392505050565b606082471015610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490611370565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610dc691906112be565b60006040518083038185875af1925050503d8060008114610e03576040519150601f19603f3d011682016040523d82523d6000602084013e610e08565b606091505b5091509150610e1987838387610e25565b92505050949350505050565b60608315610e8857600083511415610e8057610e4085610e9b565b610e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7690611410565b60405180910390fd5b5b829050610e93565b610e928383610ebe565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115610ed15781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f05919061132e565b60405180910390fd5b600081359050610f1d81611b55565b92915050565b600081519050610f3281611b6c565b92915050565b600081359050610f4781611b83565b92915050565b600060408284031215610f6357610f62611852565b5b81905092915050565b600081359050610f7b81611b9a565b92915050565b600060208284031215610f9757610f96611857565b5b6000610fa584828501610f0e565b91505092915050565b600060208284031215610fc457610fc3611857565b5b6000610fd284828501610f23565b91505092915050565b60008060408385031215610ff257610ff1611857565b5b600061100085828601610f38565b925050602061101185828601610f6c565b9150509250929050565b60006040828403121561103157611030611857565b5b600061103f84828501610f4d565b91505092915050565b60006020828403121561105e5761105d611857565b5b600061106c84828501610f6c565b91505092915050565b6000806040838503121561108c5761108b611857565b5b600061109a85828601610f6c565b92505060206110ab85828601610f6c565b9150509250929050565b6110be816115f2565b82525050565b60006110cf826114ab565b6110d981856114c1565b93506110e9818560208601611694565b80840191505092915050565b6000611100826114b6565b61110a81856114cc565b935061111a818560208601611694565b6111238161185c565b840191505092915050565b600061113b6026836114cc565b91506111468261187a565b604082019050919050565b600061115e6026836114cc565b9150611169826118c9565b604082019050919050565b60006111816009836114cc565b915061118c82611918565b602082019050919050565b60006111a46006836114cc565b91506111af82611941565b602082019050919050565b60006111c7600d836114cc565b91506111d28261196a565b602082019050919050565b60006111ea6020836114cc565b91506111f582611993565b602082019050919050565b600061120d6000836114c1565b9150611218826119bc565b600082019050919050565b6000611230601d836114cc565b915061123b826119bf565b602082019050919050565b6000611253602a836114cc565b915061125e826119e8565b604082019050919050565b6000611276600f836114cc565b915061128182611a37565b602082019050919050565b6000611299600b836114cc565b91506112a482611a60565b602082019050919050565b6112b881611642565b82525050565b60006112ca82846110c4565b915081905092915050565b60006112e082611200565b9150819050919050565b60006020820190506112ff60008301846110b5565b92915050565b600060408201905061131a60008301856110b5565b61132760208301846112af565b9392505050565b6000602082019050818103600083015261134881846110f5565b905092915050565b600060208201905081810360008301526113698161112e565b9050919050565b6000602082019050818103600083015261138981611151565b9050919050565b600060208201905081810360008301526113a981611174565b9050919050565b600060208201905081810360008301526113c981611197565b9050919050565b600060208201905081810360008301526113e9816111ba565b9050919050565b60006020820190508181036000830152611409816111dd565b9050919050565b6000602082019050818103600083015261142981611223565b9050919050565b6000602082019050818103600083015261144981611246565b9050919050565b6000602082019050818103600083015261146981611269565b9050919050565b600060208201905081810360008301526114898161128c565b9050919050565b60006020820190506114a560008301846112af565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b60006114e882611642565b91506114f383611642565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561152857611527611756565b5b828201905092915050565b600061153e82611642565b915061154983611642565b92508261155957611558611785565b5b828204905092915050565b600061156f82611642565b915061157a83611642565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115b3576115b2611756565b5b828202905092915050565b60006115c982611642565b91506115d483611642565b9250828210156115e7576115e6611756565b5b828203905092915050565b60006115fd82611622565b9050919050565b60008115159050919050565b600061161b826115f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006116578261165e565b9050919050565b600061166982611670565b9050919050565b600061167b82611622565b9050919050565b600061168d82611642565b9050919050565b60005b838110156116b2578082015181840152602081019050611697565b838111156116c1576000848401525b50505050565b6000810160008301806116d981611826565b90506116e58184611b01565b5050506001810160208301806116fa8161183c565b90506117068184611b32565b5050505050565b600061171882611642565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174b5761174a611756565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b6000819050919050565b6000813561183381611b55565b80915050919050565b6000813561184981611b9a565b80915050919050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160001b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5245454e54455245440000000000000000000000000000000000000000000000600082015250565b7f4e4f5f4554480000000000000000000000000000000000000000000000000000600082015250565b7f494e56414c49445f534841524500000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f494e56414c49445f4143434f554e540000000000000000000000000000000000600082015250565b7f494e56414c49445f494458000000000000000000000000000000000000000000600082015250565b600073ffffffffffffffffffffffffffffffffffffffff611aa98461186d565b9350801983169250808416831791505092915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611aeb8461186d565b9350801983169250808416831791505092915050565b611b0a8261164c565b611b1d611b1682611812565b8354611a89565b8255505050565b611b2e82826116c7565b5050565b611b3b82611682565b611b4e611b478261181c565b8354611abf565b8255505050565b611b5e816115f2565b8114611b6957600080fd5b50565b611b7581611604565b8114611b8057600080fd5b50565b611b8c81611610565b8114611b9757600080fd5b50565b611ba381611642565b8114611bae57600080fd5b5056fea2646970667358221220daf83b558379d98c4fb14f843eba203ad11c37b22a3c1976aaacd74e7456910d64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106100a05760003560e01c80639e252f00116100645780639e252f001461016b578063bfa707b014610194578063d1bc76a1146101bd578063da4bd2df146101fb578063e4fc6b6d14610224578063f2fde38b1461023b576100a7565b806333f3d628146100ac5780633a98ef39146100d5578063715018a6146101005780638da5cb5b146101175780638e69e25514610142576100a7565b366100a757005b600080fd5b3480156100b857600080fd5b506100d360048036038101906100ce9190610fdb565b610264565b005b3480156100e157600080fd5b506100ea6102a2565b6040516100f79190611490565b60405180910390f35b34801561010c57600080fd5b506101156102a8565b005b34801561012357600080fd5b5061012c6102bc565b60405161013991906112ea565b60405180910390f35b34801561014e57600080fd5b5061016960048036038101906101649190611048565b6102e5565b005b34801561017757600080fd5b50610192600480360381019061018d9190611048565b61050d565b005b3480156101a057600080fd5b506101bb60048036038101906101b6919061101b565b610595565b005b3480156101c957600080fd5b506101e460048036038101906101df9190611048565b6106c0565b6040516101f2929190611305565b60405180910390f35b34801561020757600080fd5b50610222600480360381019061021d9190611075565b610714565b005b34801561023057600080fd5b506102396107b1565b005b34801561024757600080fd5b50610262600480360381019061025d9190610f81565b610a25565b005b61026c610aa9565b61029e6102776102bc565b828473ffffffffffffffffffffffffffffffffffffffff16610b279092919063ffffffff16565b5050565b60015481565b6102b0610aa9565b6102ba6000610bad565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6102ed610aa9565b60006002805490509050808210610339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033090611470565b60405180910390fd5b6002828154811061034d5761034c6117e3565b5b9060005260206000209060020201600101546001600082825461037091906115be565b9250508190555060018161038491906115be565b8214156103ea57600280548061039d5761039c6117b4565b5b6001900381819060005260206000209060020201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905550509055610509565b60026001826103f991906115be565b8154811061040a576104096117e3565b5b90600052602060002090600202016002838154811061042c5761042b6117e3565b5b90600052602060002090600202016000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001820154816001015590505060028054806104c0576104bf6117b4565b5b6001900381819060005260206000209060020201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055505090555b5050565b610515610aa9565b6000803373ffffffffffffffffffffffffffffffffffffffff168360405161053c906112d5565b60006040518083038185875af1925050503d8060008114610579576040519150601f19603f3d011682016040523d82523d6000602084013e61057e565b606091505b50915091508161059057805160208201fd5b505050565b61059d610aa9565b60008160200135116105e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105db906113d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1681600001602081019061060f9190610f81565b73ffffffffffffffffffffffffffffffffffffffff161415610666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065d90611450565b60405180910390fd5b80602001356001600082825461067c91906114dd565b92505081905550600281908060018154018082558091505060019003906000526020600020906002020160009091909190915081816106bb9190611b24565b505050565b600281815481106106d057600080fd5b90600052602060002090600202016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b61071c610aa9565b60006002805490509050808310610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f90611470565b60405180910390fd5b6002838154811061077c5761077b6117e3565b5b9060005260206000209060020201600101548260015461079c91906114dd565b6107a691906115be565b600181905550505050565b600060149054906101000a900460ff1615610801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f890611390565b60405180910390fd5b6001600060146101000a81548160ff021916908315150217905550600047905060008111610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085b906113b0565b60405180910390fd5b6000600154905060006002805480602002602001604051908101604052809291908181526020016000905b8282101561092157838290600052602060002090600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250508152602001906001019061088f565b50505050905060008151905060005b81811015610a0457600083828151811061094d5761094c6117e3565b5b60200260200101519050600080826000015173ffffffffffffffffffffffffffffffffffffffff168784602001518a6109869190611564565b6109909190611533565b60405161099c906112d5565b60006040518083038185875af1925050503d80600081146109d9576040519150601f19603f3d011682016040523d82523d6000602084013e6109de565b606091505b5091509150816109f057805160208201fd5b505050806109fd9061170d565b9050610930565b5060008060146101000a81548160ff02191690831515021790555050505050565b610a2d610aa9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9490611350565b60405180910390fd5b610aa681610bad565b50565b610ab1610c71565b73ffffffffffffffffffffffffffffffffffffffff16610acf6102bc565b73ffffffffffffffffffffffffffffffffffffffff1614610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c906113f0565b60405180910390fd5b565b610ba88363a9059cbb60e01b8484604051602401610b46929190611305565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610c79565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000610cdb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610d409092919063ffffffff16565b9050600081511115610d3b5780806020019051810190610cfb9190610fae565b610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190611430565b60405180910390fd5b5b505050565b6060610d4f8484600085610d58565b90509392505050565b606082471015610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490611370565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610dc691906112be565b60006040518083038185875af1925050503d8060008114610e03576040519150601f19603f3d011682016040523d82523d6000602084013e610e08565b606091505b5091509150610e1987838387610e25565b92505050949350505050565b60608315610e8857600083511415610e8057610e4085610e9b565b610e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7690611410565b60405180910390fd5b5b829050610e93565b610e928383610ebe565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115610ed15781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f05919061132e565b60405180910390fd5b600081359050610f1d81611b55565b92915050565b600081519050610f3281611b6c565b92915050565b600081359050610f4781611b83565b92915050565b600060408284031215610f6357610f62611852565b5b81905092915050565b600081359050610f7b81611b9a565b92915050565b600060208284031215610f9757610f96611857565b5b6000610fa584828501610f0e565b91505092915050565b600060208284031215610fc457610fc3611857565b5b6000610fd284828501610f23565b91505092915050565b60008060408385031215610ff257610ff1611857565b5b600061100085828601610f38565b925050602061101185828601610f6c565b9150509250929050565b60006040828403121561103157611030611857565b5b600061103f84828501610f4d565b91505092915050565b60006020828403121561105e5761105d611857565b5b600061106c84828501610f6c565b91505092915050565b6000806040838503121561108c5761108b611857565b5b600061109a85828601610f6c565b92505060206110ab85828601610f6c565b9150509250929050565b6110be816115f2565b82525050565b60006110cf826114ab565b6110d981856114c1565b93506110e9818560208601611694565b80840191505092915050565b6000611100826114b6565b61110a81856114cc565b935061111a818560208601611694565b6111238161185c565b840191505092915050565b600061113b6026836114cc565b91506111468261187a565b604082019050919050565b600061115e6026836114cc565b9150611169826118c9565b604082019050919050565b60006111816009836114cc565b915061118c82611918565b602082019050919050565b60006111a46006836114cc565b91506111af82611941565b602082019050919050565b60006111c7600d836114cc565b91506111d28261196a565b602082019050919050565b60006111ea6020836114cc565b91506111f582611993565b602082019050919050565b600061120d6000836114c1565b9150611218826119bc565b600082019050919050565b6000611230601d836114cc565b915061123b826119bf565b602082019050919050565b6000611253602a836114cc565b915061125e826119e8565b604082019050919050565b6000611276600f836114cc565b915061128182611a37565b602082019050919050565b6000611299600b836114cc565b91506112a482611a60565b602082019050919050565b6112b881611642565b82525050565b60006112ca82846110c4565b915081905092915050565b60006112e082611200565b9150819050919050565b60006020820190506112ff60008301846110b5565b92915050565b600060408201905061131a60008301856110b5565b61132760208301846112af565b9392505050565b6000602082019050818103600083015261134881846110f5565b905092915050565b600060208201905081810360008301526113698161112e565b9050919050565b6000602082019050818103600083015261138981611151565b9050919050565b600060208201905081810360008301526113a981611174565b9050919050565b600060208201905081810360008301526113c981611197565b9050919050565b600060208201905081810360008301526113e9816111ba565b9050919050565b60006020820190508181036000830152611409816111dd565b9050919050565b6000602082019050818103600083015261142981611223565b9050919050565b6000602082019050818103600083015261144981611246565b9050919050565b6000602082019050818103600083015261146981611269565b9050919050565b600060208201905081810360008301526114898161128c565b9050919050565b60006020820190506114a560008301846112af565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b60006114e882611642565b91506114f383611642565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561152857611527611756565b5b828201905092915050565b600061153e82611642565b915061154983611642565b92508261155957611558611785565b5b828204905092915050565b600061156f82611642565b915061157a83611642565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115b3576115b2611756565b5b828202905092915050565b60006115c982611642565b91506115d483611642565b9250828210156115e7576115e6611756565b5b828203905092915050565b60006115fd82611622565b9050919050565b60008115159050919050565b600061161b826115f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006116578261165e565b9050919050565b600061166982611670565b9050919050565b600061167b82611622565b9050919050565b600061168d82611642565b9050919050565b60005b838110156116b2578082015181840152602081019050611697565b838111156116c1576000848401525b50505050565b6000810160008301806116d981611826565b90506116e58184611b01565b5050506001810160208301806116fa8161183c565b90506117068184611b32565b5050505050565b600061171882611642565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174b5761174a611756565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b6000819050919050565b6000813561183381611b55565b80915050919050565b6000813561184981611b9a565b80915050919050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160001b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5245454e54455245440000000000000000000000000000000000000000000000600082015250565b7f4e4f5f4554480000000000000000000000000000000000000000000000000000600082015250565b7f494e56414c49445f534841524500000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f494e56414c49445f4143434f554e540000000000000000000000000000000000600082015250565b7f494e56414c49445f494458000000000000000000000000000000000000000000600082015250565b600073ffffffffffffffffffffffffffffffffffffffff611aa98461186d565b9350801983169250808416831791505092915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611aeb8461186d565b9350801983169250808416831791505092915050565b611b0a8261164c565b611b1d611b1682611812565b8354611a89565b8255505050565b611b2e82826116c7565b5050565b611b3b82611682565b611b4e611b478261181c565b8354611abf565b8255505050565b611b5e816115f2565b8114611b6957600080fd5b50565b611b7581611604565b8114611b8057600080fd5b50565b611b8c81611610565b8114611b9757600080fd5b50565b611ba381611642565b8114611bae57600080fd5b5056fea2646970667358221220daf83b558379d98c4fb14f843eba203ad11c37b22a3c1976aaacd74e7456910d64736f6c63430008070033

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.