ETH Price: $4,174.63 (+0.58%)

Contract

0x4A5f22CAdb118D845d712b9d540297E295cB9994
Transaction Hash
Method
Block
From
To

There are no matching entries

> 10 Internal Transactions and > 10 Token Transfers found.

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
119853632025-09-24 15:36:141 hr ago1758728174
0x4A5f22CA...295cB9994
0.0005 ETH
119764022025-09-24 13:06:533 hrs ago1758719213
0x4A5f22CA...295cB9994
0.00003 ETH
119707452025-09-24 11:32:365 hrs ago1758713556
0x4A5f22CA...295cB9994
0.0000105 ETH
119627362025-09-24 9:19:077 hrs ago1758705547
0x4A5f22CA...295cB9994
0.00004072 ETH
119625472025-09-24 9:15:587 hrs ago1758705358
0x4A5f22CA...295cB9994
0.000042 ETH
119605832025-09-24 8:43:148 hrs ago1758703394
0x4A5f22CA...295cB9994
0.00000125 ETH
119605172025-09-24 8:42:088 hrs ago1758703328
0x4A5f22CA...295cB9994
0.00000125 ETH
119572542025-09-24 7:47:459 hrs ago1758700065
0x4A5f22CA...295cB9994
0.00003011 ETH
119450272025-09-24 4:23:5812 hrs ago1758687838
0x4A5f22CA...295cB9994
0.00048 ETH
119427232025-09-24 3:45:3413 hrs ago1758685534
0x4A5f22CA...295cB9994
0.00000325 ETH
119355002025-09-24 1:45:1115 hrs ago1758678311
0x4A5f22CA...295cB9994
0.0000015 ETH
119346962025-09-24 1:31:4715 hrs ago1758677507
0x4A5f22CA...295cB9994
0.0000975 ETH
119239672025-09-23 22:32:5818 hrs ago1758666778
0x4A5f22CA...295cB9994
0.0000725 ETH
119238692025-09-23 22:31:2018 hrs ago1758666680
0x4A5f22CA...295cB9994
0.0000725 ETH
119143282025-09-23 19:52:1921 hrs ago1758657139
0x4A5f22CA...295cB9994
0.0025 ETH
119067042025-09-23 17:45:1523 hrs ago1758649515
0x4A5f22CA...295cB9994
0.00001075 ETH
119053592025-09-23 17:22:5023 hrs ago1758648170
0x4A5f22CA...295cB9994
0.000625 ETH
118998652025-09-23 15:51:1625 hrs ago1758642676
0x4A5f22CA...295cB9994
0.00011875 ETH
118995542025-09-23 15:46:0525 hrs ago1758642365
0x4A5f22CA...295cB9994
0.00013225 ETH
118961332025-09-23 14:49:0426 hrs ago1758638944
0x4A5f22CA...295cB9994
0.00005034 ETH
118935822025-09-23 14:06:3326 hrs ago1758636393
0x4A5f22CA...295cB9994
0.00005025 ETH
118904552025-09-23 13:14:2627 hrs ago1758633266
0x4A5f22CA...295cB9994
0.00001487 ETH
118868532025-09-23 12:14:2428 hrs ago1758629664
0x4A5f22CA...295cB9994
0.00426575 ETH
118855312025-09-23 11:52:2229 hrs ago1758628342
0x4A5f22CA...295cB9994
0.00000062 ETH
118768872025-09-23 9:28:1831 hrs ago1758619698
0x4A5f22CA...295cB9994
0.00000455 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FeeSplitter

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;

import { Ownable } from "openzeppelin-contracts/access/Ownable.sol";
import { IERC20 } from "openzeppelin-contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol";
import { ReentrancyGuard } from "openzeppelin-contracts/utils/ReentrancyGuard.sol";

contract FeeSplitter is Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    error CallFailed(address recipient);
    error NoBalance(IERC20 token);
    error InvalidLengths();

    address[] public recipients;
    uint16[] public shares;
    uint256 public totalShares;

    constructor(address _owner, address[] memory _recipients, uint16[] memory _shares) Ownable(_owner) {
        _setRecipients(_recipients, _shares);
    }

    function claim() public nonReentrant {
        uint256 length = shares.length;
        uint256 totalBalance = address(this).balance;

        bool success = false;

        for (uint256 i = 0; i < length;) {
            (success,) = recipients[i].call{ value: (totalBalance * shares[i]) / totalShares }("");
            if (!success) {
                revert CallFailed(recipients[i]);
            }
            unchecked {
                ++i;
            }
        }
    }

    function claimERC20(IERC20[] calldata _tokens) public nonReentrant {
        uint256 tokensLength = _tokens.length;
        uint256 sharesLength = shares.length;

        for (uint256 i = 0; i < tokensLength;) {
            uint256 totalBalance = _tokens[i].balanceOf(address(this));

            if (totalBalance == 0) {
                revert NoBalance(_tokens[i]);
            }

            for (uint256 j = 0; j < sharesLength;) {
                _tokens[i].safeTransfer(recipients[j], (totalBalance * shares[j]) / totalShares);

                unchecked {
                    ++j;
                }
            }

            unchecked {
                ++i;
            }
        }
    }

    function setRecipients(address[] calldata _recipients, uint16[] calldata _shares) external onlyOwner {
        _setRecipients(_recipients, _shares);
    }

    function _setRecipients(address[] memory _recipients, uint16[] memory _shares) internal {
        uint256 length = _shares.length;
        if (length != _recipients.length) {
            revert InvalidLengths();
        }

        recipients = _recipients;
        shares = _shares;

        totalShares = 0;
        for (uint256 i = 0; i < length;) {
            totalShares += _shares[i];
            unchecked {
                ++i;
            }
        }
    }

    receive() external payable { }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 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 {
    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        if (!_safeTransfer(token, to, value, true)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        if (!_safeTransferFrom(token, from, to, value, true)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
        return _safeTransfer(token, to, value, false);
    }

    /**
     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
        return _safeTransferFrom(token, from, to, value, false);
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        if (!_safeApprove(token, spender, value, false)) {
            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));
            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity `token.transfer(to, value)` call, 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 to The recipient of the tokens
     * @param value The amount of token to transfer
     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
     */
    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {
        bytes4 selector = IERC20.transfer.selector;

        assembly ("memory-safe") {
            let fmp := mload(0x40)
            mstore(0x00, selector)
            mstore(0x04, and(to, shr(96, not(0))))
            mstore(0x24, value)
            success := call(gas(), token, 0, 0, 0x44, 0, 0x20)
            // if call success and return is true, all is good.
            // otherwise (not success or return is not true), we need to perform further checks
            if iszero(and(success, eq(mload(0x00), 1))) {
                // if the call was a failure and bubble is enabled, bubble the error
                if and(iszero(success), bubble) {
                    returndatacopy(fmp, 0, returndatasize())
                    revert(fmp, returndatasize())
                }
                // if the return value is not true, then the call is only successful if:
                // - the token address has code
                // - the returndata is empty
                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
            }
            mstore(0x40, fmp)
        }
    }

    /**
     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, 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 from The sender of the tokens
     * @param to The recipient of the tokens
     * @param value The amount of token to transfer
     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
     */
    function _safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value,
        bool bubble
    ) private returns (bool success) {
        bytes4 selector = IERC20.transferFrom.selector;

        assembly ("memory-safe") {
            let fmp := mload(0x40)
            mstore(0x00, selector)
            mstore(0x04, and(from, shr(96, not(0))))
            mstore(0x24, and(to, shr(96, not(0))))
            mstore(0x44, value)
            success := call(gas(), token, 0, 0, 0x64, 0, 0x20)
            // if call success and return is true, all is good.
            // otherwise (not success or return is not true), we need to perform further checks
            if iszero(and(success, eq(mload(0x00), 1))) {
                // if the call was a failure and bubble is enabled, bubble the error
                if and(iszero(success), bubble) {
                    returndatacopy(fmp, 0, returndatasize())
                    revert(fmp, returndatasize())
                }
                // if the return value is not true, then the call is only successful if:
                // - the token address has code
                // - the returndata is empty
                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
            }
            mstore(0x40, fmp)
            mstore(0x60, 0)
        }
    }

    /**
     * @dev Imitates a Solidity `token.approve(spender, value)` call, 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 spender The spender of the tokens
     * @param value The amount of token to transfer
     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
     */
    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {
        bytes4 selector = IERC20.approve.selector;

        assembly ("memory-safe") {
            let fmp := mload(0x40)
            mstore(0x00, selector)
            mstore(0x04, and(spender, shr(96, not(0))))
            mstore(0x24, value)
            success := call(gas(), token, 0, 0, 0x44, 0, 0x20)
            // if call success and return is true, all is good.
            // otherwise (not success or return is not true), we need to perform further checks
            if iszero(and(success, eq(mload(0x00), 1))) {
                // if the call was a failure and bubble is enabled, bubble the error
                if and(iszero(success), bubble) {
                    returndatacopy(fmp, 0, returndatasize())
                    revert(fmp, returndatasize())
                }
                // if the return value is not true, then the call is only successful if:
                // - the token address has code
                // - the returndata is empty
                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
            }
            mstore(0x40, fmp)
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,
 * consider using {ReentrancyGuardTransient} instead.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)

pragma solidity >=0.6.2;

import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";

/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}

File 8 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)

pragma solidity >=0.4.16;

import {IERC20} from "../token/ERC20/IERC20.sol";

File 9 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity >=0.4.16;

import {IERC165} from "../utils/introspection/IERC165.sol";

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity >=0.4.16;

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

Settings
{
  "remappings": [
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "none",
    "appendCBOR": false
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": true
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint16[]","name":"_shares","type":"uint16[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"CallFailed","type":"error"},{"inputs":[],"name":"InvalidLengths","type":"error"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"NoBalance","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20[]","name":"_tokens","type":"address[]"}],"name":"claimERC20","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":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint16[]","name":"_shares","type":"uint16[]"}],"name":"setRecipients","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"shares","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","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"}]

6080604052346103e157610ed380380380610019816103fd565b92833981016060828203126103e15761003182610422565b60208301516001600160401b0381116103e15783019282601f850112156103e15783519061006661006183610436565b6103fd565b94602086848152016020819460051b830101918683116103e157602001905b8282106103e5575050506040810151906001600160401b0382116103e157019183601f840112156103e1578251926100bf61006185610436565b9460208686815201916020839660051b8201019182116103e157602001915b8183106103c6575050506001600160a01b031680156103b3575f80546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360018055825193805185036103a45751906001600160401b03821161033957680100000000000000008211610339576002548260025580831061036a575b5060025f5260205f205f5b83811061034d5750508351929150506001600160401b0382116103395768010000000000000000821161033957600354826003558083106102e8575b509060035f5260205f208160041c915f5b8381106102a85750600f19811690038061025b575b505050505f6004555f5b82811061020257604051610a6f90816104648239f35b81518110156102475761ffff60208260051b84010151169060045491820180921161023357600191600455016101ec565b634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b925f935f5b8181106102755750505001555f8080806101e2565b909194602061029e60019261ffff8951169085851b61ffff809160031b9316831b921b19161790565b9601929101610260565b5f5f5b601081106102c05750838201556001016101cd565b865190969160019160209161ffff60048b901b81811b199092169216901b17920196016102ab565b6103189060035f5260205f20600f80860160041c820192601e8760011b168061031e575b500160041c019061044d565b5f6101bc565b5f198501908154905f199060200360031b1c1690555f61030c565b634e487b7160e01b5f52604160045260245ffd5b82516001600160a01b031681830155602090920191600101610180565b60025f5261039e907f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90810190840161044d565b5f610175565b631df89e8b60e01b5f5260045ffd5b631e4fbdf760e01b5f525f60045260245ffd5b825161ffff811681036103e1578152602092830192016100de565b5f80fd5b602080916103f284610422565b815201910190610085565b6040519190601f01601f191682016001600160401b0381118382101761033957604052565b51906001600160a01b03821682036103e157565b6001600160401b0381116103395760051b60200190565b818110610458575050565b5f815560010161044d56fe608080604052600436101561001c575b50361561001a575f80fd5b005b5f3560e01c9081633a98ef39146108d3575080634e71d92d146107ed57806357a858fc146107b1578063715018a61461075a5780638da5cb5b14610733578063bc45dad01461034b578063d1bc76a114610309578063d512143e146101185763f2fde38b1461008b575f61000f565b34610114576020366003190112610114576004356001600160a01b03811690819003610114576100b9610a12565b8015610101575f80546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b631e4fbdf760e01b5f525f60045260245ffd5b5f80fd5b346101145760203660031901126101145760043567ffffffffffffffff81116101145761014990369060040161091a565b6101516109f2565b6003545f5b8281106101635760018055005b602460206001600160a01b0361018261017d85888a6109ce565b6109de565b16604051928380926370a0823160e01b82523060048301525afa9081156102fe575f916102cd575b50801561029f575f5b8381106101c4575050600101610156565b6101d761017d84878995999896986109ce565b6101e08261094b565b905460039190911b1c6001600160a01b031661021b61021261ffff610204866108ed565b90549060031b1c168a610963565b60045490610976565b6040519163a9059cbb60e01b5f5260045260245260205f60448180865af19060015f511482161561027e575b6040521561025e57506001019490949391936101b3565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b90600181151661029657823b15153d15161690610247565b503d5f823e3d90fd5b6102ad61017d8386886109ce565b63465c2fa960e11b5f9081526001600160a01b0391909116600452602490fd5b90506020813d82116102f6575b816102e760209383610994565b810103126101145751856101aa565b3d91506102da565b6040513d5f823e3d90fd5b34610114576020366003190112610114576004356002548110156101145761033260209161094b565b905460405160039290921b1c6001600160a01b03168152f35b346101145760403660031901126101145760043567ffffffffffffffff81116101145761037c90369060040161091a565b60243567ffffffffffffffff81116101145761039c90369060040161091a565b90916103a6610a12565b6103af816109b6565b936103bd6040519586610994565b8185526020850190819260051b81019036821161011457915b818310610713575050506103e9826109b6565b926103f76040519485610994565b8284526020840190819360051b81019036821161011457915b8183106106f857505050825193805185036106e957519067ffffffffffffffff821161064457600160401b82116106445760025482600255808310610695575b5060025f525f5b8281106106585750505081519067ffffffffffffffff821161064457600160401b821161064457600354826003558083106105c1575b509060035f528060041c905f5b8281106105745750600f19811690038061051a575b5050505f6004555f5b8281106104c157005b81518110156105065761ffff60208260051b8401015116906004549182018092116104f257600191600455016104b8565b634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b915f925f5b818110610541575050505f516020610a4f5f395f51905f5201558280806104af565b909193602061056a60019261ffff8851169085851b61ffff809160031b9316831b921b19161790565b950192910161051f565b5f5f5b6010811061059957505f516020610a4f5f395f51905f5282015560010161049a565b855190959160019160209161ffff60048a901b81811b199092169216901b1792019501610577565b61060490600f80850160041c91601e8660011b168061060a575b500160041c5f516020610a4f5f395f51905f5201905f516020610a4f5f395f51905f5201610a38565b8461048d565b7fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85a8401908154905f199060200360031b1c169055886105db565b634e487b7160e01b5f52604160045260245ffd5b81516001600160a01b03167f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace820155602090910190600101610457565b6106e3907f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01837f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01610a38565b85610450565b631df89e8b60e01b5f5260045ffd5b823561ffff8116810361011457815260209283019201610410565b82356001600160a01b0381168103610114578152602092830192016103d6565b34610114575f366003190112610114575f546040516001600160a01b039091168152602090f35b34610114575f36600319011261011457610772610a12565b5f80546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610114576020366003190112610114576004356003548110156101145761ffff6107dd6020926108ed565b90549060031b1c16604051908152f35b34610114575f366003190112610114576108056109f2565b600354475f5b8281106108185760018055005b5f8080806108258561094b565b905460039190911b1c6001600160a01b031661085761021261ffff610849896108ed565b90549060031b1c1689610963565b905af13d156108ce573d67ffffffffffffffff81116106445760405190610888601f8201601f191660200183610994565b81525f60203d92013e5b1561089f5760010161080b565b6108a89061094b565b905463201be19160e01b5f90815260039290921b1c6001600160a01b0316600452602490fd5b610892565b34610114575f366003190112610114576020906004548152f35b906003548210156105065760035f52600482901c5f516020610a4f5f395f51905f52019160011b601e1690565b9181601f840112156101145782359167ffffffffffffffff8311610114576020808501948460051b01011161011457565b6002548110156105065760025f5260205f2001905f90565b818102929181159184041417156104f257565b8115610980570490565b634e487b7160e01b5f52601260045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761064457604052565b67ffffffffffffffff81116106445760051b60200190565b91908110156105065760051b0190565b356001600160a01b03811681036101145790565b600260015414610a03576002600155565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b03163303610a2557565b63118cdaa760e01b5f523360045260245ffd5b818110610a43575050565b5f8155600101610a3856fec2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0000000000000000000000006aa68c46ed86161eb318b1396f7b79e386e88676000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b6301976f04e6a58d6e57ff04144a31d911d3a250000000000000000000000006aa68c46ed86161eb318b1396f7b79e386e88676000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x608080604052600436101561001c575b50361561001a575f80fd5b005b5f3560e01c9081633a98ef39146108d3575080634e71d92d146107ed57806357a858fc146107b1578063715018a61461075a5780638da5cb5b14610733578063bc45dad01461034b578063d1bc76a114610309578063d512143e146101185763f2fde38b1461008b575f61000f565b34610114576020366003190112610114576004356001600160a01b03811690819003610114576100b9610a12565b8015610101575f80546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b631e4fbdf760e01b5f525f60045260245ffd5b5f80fd5b346101145760203660031901126101145760043567ffffffffffffffff81116101145761014990369060040161091a565b6101516109f2565b6003545f5b8281106101635760018055005b602460206001600160a01b0361018261017d85888a6109ce565b6109de565b16604051928380926370a0823160e01b82523060048301525afa9081156102fe575f916102cd575b50801561029f575f5b8381106101c4575050600101610156565b6101d761017d84878995999896986109ce565b6101e08261094b565b905460039190911b1c6001600160a01b031661021b61021261ffff610204866108ed565b90549060031b1c168a610963565b60045490610976565b6040519163a9059cbb60e01b5f5260045260245260205f60448180865af19060015f511482161561027e575b6040521561025e57506001019490949391936101b3565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b90600181151661029657823b15153d15161690610247565b503d5f823e3d90fd5b6102ad61017d8386886109ce565b63465c2fa960e11b5f9081526001600160a01b0391909116600452602490fd5b90506020813d82116102f6575b816102e760209383610994565b810103126101145751856101aa565b3d91506102da565b6040513d5f823e3d90fd5b34610114576020366003190112610114576004356002548110156101145761033260209161094b565b905460405160039290921b1c6001600160a01b03168152f35b346101145760403660031901126101145760043567ffffffffffffffff81116101145761037c90369060040161091a565b60243567ffffffffffffffff81116101145761039c90369060040161091a565b90916103a6610a12565b6103af816109b6565b936103bd6040519586610994565b8185526020850190819260051b81019036821161011457915b818310610713575050506103e9826109b6565b926103f76040519485610994565b8284526020840190819360051b81019036821161011457915b8183106106f857505050825193805185036106e957519067ffffffffffffffff821161064457600160401b82116106445760025482600255808310610695575b5060025f525f5b8281106106585750505081519067ffffffffffffffff821161064457600160401b821161064457600354826003558083106105c1575b509060035f528060041c905f5b8281106105745750600f19811690038061051a575b5050505f6004555f5b8281106104c157005b81518110156105065761ffff60208260051b8401015116906004549182018092116104f257600191600455016104b8565b634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b915f925f5b818110610541575050505f516020610a4f5f395f51905f5201558280806104af565b909193602061056a60019261ffff8851169085851b61ffff809160031b9316831b921b19161790565b950192910161051f565b5f5f5b6010811061059957505f516020610a4f5f395f51905f5282015560010161049a565b855190959160019160209161ffff60048a901b81811b199092169216901b1792019501610577565b61060490600f80850160041c91601e8660011b168061060a575b500160041c5f516020610a4f5f395f51905f5201905f516020610a4f5f395f51905f5201610a38565b8461048d565b7fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85a8401908154905f199060200360031b1c169055886105db565b634e487b7160e01b5f52604160045260245ffd5b81516001600160a01b03167f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace820155602090910190600101610457565b6106e3907f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01837f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01610a38565b85610450565b631df89e8b60e01b5f5260045ffd5b823561ffff8116810361011457815260209283019201610410565b82356001600160a01b0381168103610114578152602092830192016103d6565b34610114575f366003190112610114575f546040516001600160a01b039091168152602090f35b34610114575f36600319011261011457610772610a12565b5f80546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610114576020366003190112610114576004356003548110156101145761ffff6107dd6020926108ed565b90549060031b1c16604051908152f35b34610114575f366003190112610114576108056109f2565b600354475f5b8281106108185760018055005b5f8080806108258561094b565b905460039190911b1c6001600160a01b031661085761021261ffff610849896108ed565b90549060031b1c1689610963565b905af13d156108ce573d67ffffffffffffffff81116106445760405190610888601f8201601f191660200183610994565b81525f60203d92013e5b1561089f5760010161080b565b6108a89061094b565b905463201be19160e01b5f90815260039290921b1c6001600160a01b0316600452602490fd5b610892565b34610114575f366003190112610114576020906004548152f35b906003548210156105065760035f52600482901c5f516020610a4f5f395f51905f52019160011b601e1690565b9181601f840112156101145782359167ffffffffffffffff8311610114576020808501948460051b01011161011457565b6002548110156105065760025f5260205f2001905f90565b818102929181159184041417156104f257565b8115610980570490565b634e487b7160e01b5f52601260045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761064457604052565b67ffffffffffffffff81116106445760051b60200190565b91908110156105065760051b0190565b356001600160a01b03811681036101145790565b600260015414610a03576002600155565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b03163303610a2557565b63118cdaa760e01b5f523360045260245ffd5b818110610a43575050565b5f8155600101610a3856fec2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b

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

0000000000000000000000006aa68c46ed86161eb318b1396f7b79e386e88676000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b6301976f04e6a58d6e57ff04144a31d911d3a250000000000000000000000006aa68c46ed86161eb318b1396f7b79e386e88676000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _owner (address): 0x6AA68C46eD86161eB318b1396F7b79E386e88676
Arg [1] : _recipients (address[]): 0xB6301976f04E6A58D6E57Ff04144A31D911D3a25,0x6AA68C46eD86161eB318b1396F7b79E386e88676
Arg [2] : _shares (uint16[]): 1,1

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


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
Loading...
Loading
[ 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.