ETH Price: $1,812.10 (-3.76%)
Gas: 25 Gwei
 

More Info

Private Name Tags

Multi Chain

Transaction Hash
Method
Block
From
To
Value
Claim Team173700712023-05-30 6:48:356 days 17 hrs ago1685429315IN
0x29e3b0...9fC0b297
0 ETH0.060803956
Claim Team172703312023-05-16 5:54:1120 days 18 hrs ago1684216451IN
0x29e3b0...9fC0b297
0 ETH0.0469310445
Claim Team171713162023-05-02 6:28:2334 days 18 hrs ago1683008903IN
0x29e3b0...9fC0b297
0 ETH0.0542089863
Claim Team170717492023-04-18 6:18:2348 days 18 hrs ago1681798703IN
0x29e3b0...9fC0b297
0 ETH0.0456793247.98041764
Claim Team169738912023-04-04 6:52:5962 days 17 hrs ago1680591179IN
0x29e3b0...9fC0b297
0 ETH0.0170167621.37245485
Claim Team168744132023-03-21 7:04:1176 days 17 hrs ago1679382251IN
0x29e3b0...9fC0b297
0 ETH0.0099517414.37493732
Claim Team167750242023-03-07 7:44:5990 days 16 hrs ago1678175099IN
0x29e3b0...9fC0b297
0 ETH0.015537521.16399354
Claim Team166756272023-02-21 8:16:35104 days 16 hrs ago1676967395IN
0x29e3b0...9fC0b297
0 ETH0.0184350725.64429782
Claim Team165758442023-02-07 8:54:59118 days 15 hrs ago1675760099IN
0x29e3b0...9fC0b297
0 ETH0.0172363421.62506019
Claim Team164751022023-01-24 7:12:59132 days 17 hrs ago1674544379IN
0x29e3b0...9fC0b297
0 ETH0.0117216815.28598282
Claim Team163750042023-01-10 7:46:35146 days 16 hrs ago1673336795IN
0x29e3b0...9fC0b297
0 ETH0.0096781815.5614586
Claim Team162746622022-12-27 7:42:35160 days 16 hrs ago1672126955IN
0x29e3b0...9fC0b297
0 ETH0.0078292912.38552487
Claim Team161743242022-12-13 7:34:47174 days 17 hrs ago1670916887IN
0x29e3b0...9fC0b297
0 ETH0.0073949815.30882345
Claim Team160741432022-11-29 7:25:59188 days 17 hrs ago1669706759IN
0x29e3b0...9fC0b297
0 ETH0.0052098411.87667232
Claim Team160741402022-11-29 7:25:23188 days 17 hrs ago1669706723IN
0x29e3b0...9fC0b297
0 ETH0.0009325911.57209752
Claim Team159742242022-11-15 8:23:59202 days 16 hrs ago1668500639IN
0x29e3b0...9fC0b297
0 ETH0.0122962315.81720273
Claim Team158737912022-11-01 7:47:35216 days 16 hrs ago1667288855IN
0x29e3b0...9fC0b297
0 ETH0.006366069.10892032
Claim Team157730182022-10-18 5:51:23230 days 18 hrs ago1666072283IN
0x29e3b0...9fC0b297
0 ETH0.0120058319.08684443
Claim Team156724082022-10-04 4:31:11244 days 20 hrs ago1664857871IN
0x29e3b0...9fC0b297
0 ETH0.0089341712.15422233
Claim Team155731602022-09-20 7:19:23258 days 17 hrs ago1663658363IN
0x29e3b0...9fC0b297
0 ETH0.004289915.97192136
Claim Team154825862022-09-06 6:55:11272 days 17 hrs ago1662447311IN
0x29e3b0...9fC0b297
0 ETH0.000576097.11502126
Claim Team154825782022-09-06 6:53:24272 days 17 hrs ago1662447204IN
0x29e3b0...9fC0b297
0 ETH0.006074226.74980862
Claim Team153949872022-08-23 6:18:33286 days 18 hrs ago1661235513IN
0x29e3b0...9fC0b297
0 ETH0.004859566.80105756
Claim Team153066322022-08-09 7:16:42300 days 17 hrs ago1660029402IN
0x29e3b0...9fC0b297
0 ETH0.007870218.7787738
Claim Team152163762022-07-26 5:55:52314 days 18 hrs ago1658814952IN
0x29e3b0...9fC0b297
0 ETH0.0103297817.48567019
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SplitFunds

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : splitFunds.sol
// SPDX-License-Identifier: MIT
// fee fund splitter

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";

import "./Ownable.sol";

contract SplitFunds is Ownable {

  using SafeERC20 for IERC20;


  address[] public team;
  uint256[] public weights;
  uint256 public constant DENOMINATOR = 10000; // denominates weights 10000 = 100%

  constructor() {
    // Add initial team members and weights
    team.push(0x922990AE7914d2B1b4013262EB7FEaF5BA682EF5);
    team.push(0xAdE9e51C9E23d64E538A7A38656B78aB6Bcc349e);
    weights.push(5000);
    weights.push(5000);
  }

  // Add team member with weight
  function addTeam(address _team, uint256 _weight) public onlyOwner {
    team.push(_team);
    weights.push(_weight);
  }
  // Adjust team member address or weight
  function adjustTeam(uint256 _index, address _team, uint256 _weight) public onlyOwner {
    require(team[_index] != address(0), "unassigned index");
    team[_index] = _team;
    weights[_index] = _weight;
  }

  function claimTeam(address[] memory tokens) public {
    uint256 bal;
    uint256 split;
    IERC20 ft;
    // cycle through tokens
    for(uint256 i=0;i<tokens.length;i++) {
      ft = IERC20(tokens[i]);
      bal = ft.balanceOf(address(this));
      // cycle through team addresses and weights
      for(uint32 n=0;n<team.length;n++) {
        if(weights[n] > 0 && team[n] != address(0)) {
          split = bal*weights[n]/DENOMINATOR;
          ft.safeTransfer(team[n], split);
        }
      }
    }
  }

  function execute(address _to, uint256 _value, bytes calldata _data) external onlyOwner returns (bool, bytes memory) {
    (bool success, bytes memory result) = _to.call{value:_value}(_data);
    return (success, result);
  }

}

File 2 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

File 3 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 6 of 7 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

File 7 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/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 = 0xe39b8617D571CEe5e75e1EC6B2bb40DdC8CF6Fa3; // Votium multi-sig address

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


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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
    /**
     * @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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_team","type":"address"},{"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"addTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"address","name":"_team","type":"address"},{"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"adjustTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"claimTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"team","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"weights","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405273e39b8617d571cee5e75e1ec6b2bb40ddc8cf6fa36000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006457600080fd5b50600173922990ae7914d2b1b4013262eb7feaf5ba682ef59080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600173ade9e51c9e23d64e538a7a38656b78ab6bcc349e9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060026113889080600181540180825580915050600190039060005260206000200160009091909190915055600261138890806001815401808255809150506001900390600052602060002001600090919091909150556118ff806101b86000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063918f867411610066578063918f86741461011e578063b5f163ff1461013c578063b61d27f61461016c578063dbfd16bb1461019d578063f2fde38b146101b957610093565b80630823c27114610098578063197ebd53146100b45780637e1cfe62146100e45780638da5cb5b14610100575b600080fd5b6100b260048036038101906100ad9190610f4b565b6101d5565b005b6100ce60048036038101906100c99190610fc1565b61042e565b6040516100db9190611265565b60405180910390f35b6100fe60048036038101906100f99190610e97565b61046d565b005b610108610579565b6040516101159190611265565b60405180910390f35b6101266105a2565b60405161013391906113bb565b60405180910390f35b61015660048036038101906101519190610fc1565b6105a8565b60405161016391906113bb565b60405180910390f35b61018660048036038101906101819190610ed7565b6105cc565b6040516101949291906112a9565b60405180910390f35b6101b760048036038101906101b2919061101b565b6106cf565b005b6101d360048036038101906101ce9190610e6a565b61087e565b005b600080600080600090505b8451811015610427578481815181106101fc576101fb611694565b5b602002602001015191508173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161023f9190611265565b60206040518083038186803b15801561025757600080fd5b505afa15801561026b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028f9190610fee565b935060005b6001805490508163ffffffff16101561041357600060028263ffffffff16815481106102c3576102c2611694565b5b906000526020600020015411801561034c5750600073ffffffffffffffffffffffffffffffffffffffff1660018263ffffffff168154811061030857610307611694565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156104005761271060028263ffffffff168154811061036e5761036d611694565b5b906000526020600020015486610384919061149b565b61038e919061146a565b93506103ff60018263ffffffff16815481106103ad576103ac611694565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16858573ffffffffffffffffffffffffffffffffffffffff16610a279092919063ffffffff16565b5b808061040b90611609565b915050610294565b50808061041f906115c0565b9150506101e0565b5050505050565b6001818154811061043e57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610475610aad565b73ffffffffffffffffffffffffffffffffffffffff16610493610579565b73ffffffffffffffffffffffffffffffffffffffff16146104e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e09061135b565b60405180910390fd5b6001829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060028190806001815401808255809150506001900390600052602060002001600090919091909150555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61271081565b600281815481106105b857600080fd5b906000526020600020016000915090505481565b600060606105d8610aad565b73ffffffffffffffffffffffffffffffffffffffff166105f6610579565b73ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106439061135b565b60405180910390fd5b6000808773ffffffffffffffffffffffffffffffffffffffff16878787604051610677929190611235565b60006040518083038185875af1925050503d80600081146106b4576040519150601f19603f3d011682016040523d82523d6000602084013e6106b9565b606091505b5091509150818193509350505094509492505050565b6106d7610aad565b73ffffffffffffffffffffffffffffffffffffffff166106f5610579565b73ffffffffffffffffffffffffffffffffffffffff161461074b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107429061135b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166001848154811061077757610776611694565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156107f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f09061131b565b60405180910390fd5b816001848154811061080e5761080d611694565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806002848154811061086b5761086a611694565b5b9060005260206000200181905550505050565b610886610aad565b73ffffffffffffffffffffffffffffffffffffffff166108a4610579565b73ffffffffffffffffffffffffffffffffffffffff16146108fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f19061135b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561096a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610961906112fb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610aa88363a9059cbb60e01b8484604051602401610a46929190611280565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610ab5565b505050565b600033905090565b6000610b17826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610b7c9092919063ffffffff16565b9050600081511115610b775780806020019051810190610b379190610f94565b610b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6d9061139b565b60405180910390fd5b5b505050565b6060610b8b8484600085610b94565b90509392505050565b606082471015610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd09061133b565b60405180910390fd5b610be285610ca8565b610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c189061137b565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610c4a919061124e565b60006040518083038185875af1925050503d8060008114610c87576040519150601f19603f3d011682016040523d82523d6000602084013e610c8c565b606091505b5091509150610c9c828286610cbb565b92505050949350505050565b600080823b905060008111915050919050565b60608315610ccb57829050610d1b565b600083511115610cde5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1291906112d9565b60405180910390fd5b9392505050565b6000610d35610d30846113fb565b6113d6565b90508083825260208201905082856020860282011115610d5857610d576116fc565b5b60005b85811015610d885781610d6e8882610d92565b845260208401935060208301925050600181019050610d5b565b5050509392505050565b600081359050610da181611884565b92915050565b600082601f830112610dbc57610dbb6116f7565b5b8135610dcc848260208601610d22565b91505092915050565b600081519050610de48161189b565b92915050565b60008083601f840112610e0057610dff6116f7565b5b8235905067ffffffffffffffff811115610e1d57610e1c6116f2565b5b602083019150836001820283011115610e3957610e386116fc565b5b9250929050565b600081359050610e4f816118b2565b92915050565b600081519050610e64816118b2565b92915050565b600060208284031215610e8057610e7f611706565b5b6000610e8e84828501610d92565b91505092915050565b60008060408385031215610eae57610ead611706565b5b6000610ebc85828601610d92565b9250506020610ecd85828601610e40565b9150509250929050565b60008060008060608587031215610ef157610ef0611706565b5b6000610eff87828801610d92565b9450506020610f1087828801610e40565b935050604085013567ffffffffffffffff811115610f3157610f30611701565b5b610f3d87828801610dea565b925092505092959194509250565b600060208284031215610f6157610f60611706565b5b600082013567ffffffffffffffff811115610f7f57610f7e611701565b5b610f8b84828501610da7565b91505092915050565b600060208284031215610faa57610fa9611706565b5b6000610fb884828501610dd5565b91505092915050565b600060208284031215610fd757610fd6611706565b5b6000610fe584828501610e40565b91505092915050565b60006020828403121561100457611003611706565b5b600061101284828501610e55565b91505092915050565b60008060006060848603121561103457611033611706565b5b600061104286828701610e40565b935050602061105386828701610d92565b925050604061106486828701610e40565b9150509250925092565b611077816114f5565b82525050565b61108681611507565b82525050565b6000611098838561144e565b93506110a583858461154d565b82840190509392505050565b60006110bc82611427565b6110c6818561143d565b93506110d681856020860161155c565b6110df8161170b565b840191505092915050565b60006110f582611427565b6110ff818561144e565b935061110f81856020860161155c565b80840191505092915050565b600061112682611432565b6111308185611459565b935061114081856020860161155c565b6111498161170b565b840191505092915050565b6000611161602683611459565b915061116c8261171c565b604082019050919050565b6000611184601083611459565b915061118f8261176b565b602082019050919050565b60006111a7602683611459565b91506111b282611794565b604082019050919050565b60006111ca602083611459565b91506111d5826117e3565b602082019050919050565b60006111ed601d83611459565b91506111f88261180c565b602082019050919050565b6000611210602a83611459565b915061121b82611835565b604082019050919050565b61122f81611533565b82525050565b600061124282848661108c565b91508190509392505050565b600061125a82846110ea565b915081905092915050565b600060208201905061127a600083018461106e565b92915050565b6000604082019050611295600083018561106e565b6112a26020830184611226565b9392505050565b60006040820190506112be600083018561107d565b81810360208301526112d081846110b1565b90509392505050565b600060208201905081810360008301526112f3818461111b565b905092915050565b6000602082019050818103600083015261131481611154565b9050919050565b6000602082019050818103600083015261133481611177565b9050919050565b600060208201905081810360008301526113548161119a565b9050919050565b60006020820190508181036000830152611374816111bd565b9050919050565b60006020820190508181036000830152611394816111e0565b9050919050565b600060208201905081810360008301526113b481611203565b9050919050565b60006020820190506113d06000830184611226565b92915050565b60006113e06113f1565b90506113ec828261158f565b919050565b6000604051905090565b600067ffffffffffffffff821115611416576114156116c3565b5b602082029050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061147582611533565b915061148083611533565b9250826114905761148f611665565b5b828204905092915050565b60006114a682611533565b91506114b183611533565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156114ea576114e9611636565b5b828202905092915050565b600061150082611513565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b82818337600083830152505050565b60005b8381101561157a57808201518184015260208101905061155f565b83811115611589576000848401525b50505050565b6115988261170b565b810181811067ffffffffffffffff821117156115b7576115b66116c3565b5b80604052505050565b60006115cb82611533565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156115fe576115fd611636565b5b600182019050919050565b60006116148261153d565b915063ffffffff82141561162b5761162a611636565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f756e61737369676e656420696e64657800000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b61188d816114f5565b811461189857600080fd5b50565b6118a481611507565b81146118af57600080fd5b50565b6118bb81611533565b81146118c657600080fd5b5056fea26469706673582212200da6f3be139a7525bfe92282068bd4692b5196b64b5840600e4a9ed6545b9a3764736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

Validator Index Block Amount
View All Withdrawals

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