Overview
ETH Balance
0.0075 ETH
Eth Value
$20.70 (@ $2,760.24/ETH)More Info
Private Name Tags
ContractCreator
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
14983705 | 965 days ago | 0.0025 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Splitter
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; contract Splitter is PaymentSplitter { constructor(address[] memory payees, uint256[] memory shares_) payable PaymentSplitter(payees, shares_) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment(account, totalReceived, released(account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment(account, totalReceived, released(token, account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) 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"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "evmVersion": "berlin", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 10000 }, "remappings": [], "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526200149780380362000016816200012a565b818382398181019250604081840312156200003057600080fd5b805191506001600160401b03808311156200004a57600080fd5b828201925083601f8401126200005f57600080fd5b82516200007662000070826200015d565b6200012a565b8082825260208083019250808460051b8801019350878411156200009957600080fd5b958601955b83871015620000d05786516001600160a01b0381168114620000c05760008081fd5b835295860195918201916200009e565b850151955083861115620000e357600080fd5b620000fc620000f58888880162000183565b82620002ad565b50505050505050604051610eb180620005e683398082f35b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000155576200015562000114565b604052919050565b60006001600160401b0382111562000179576200017962000114565b5060051b60200190565b600082601f8301126200019557600080fd5b8151620001a662000070826200015d565b8082825260208083019250808460051b870101935086841115620001c957600080fd5b8086015b84811015620001e65780518452928101928101620001cd565b50909695505050505050565b806200023d5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606481fd5b50565b634e487b7160e01b600052601160045260246000fd5b60006000198214156200026d576200026d62000240565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000815183106200029f576200029f62000274565b5060059190911b0160200190565b805182518114620003185760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b6064820152608481fd5b506200032781511515620001f2565b60005b815181106200033857505050565b620003556200034882846200028a565b516001600160a01b031690565b6200036d6200036583866200028a565b5182620004c6565b50620003798162000256565b90506200032a565b806200023d5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606481fd5b806200023d5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608481fd5b60045468010000000000000000811062000449576200044962000114565b600181018060045580821062000463576200046362000274565b5060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0392909216919091179055565b60008219821115620004c157620004c162000240565b500190565b6001600160a01b0381166200052f5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608481fd5b6200053c82151562000381565b620005676200055f826001600160a01b0316600090815260026020526040902090565b5415620003cc565b62000572816200042b565b8162000592826001600160a01b0316600090815260026020526040902090565b55620005a182600054620004ab565b600055604080516001600160a01b038316815260208101849052907f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac9082a150505056fe60406080815260043610610288576000803560e01c6319165587811461007c57633a98ef39811461009c5763406072a981146100bf576348b75044811461014257638b83209b811461016657639852595c81146101a15763ce7c2ac281146101e95763d79779b281146102275763e33b7de3811461026557610285565b3415610086578182fd5b610097610092366102c2565b6105d1565b818351f35b34156100a6578182fd5b6100af36610306565b81548351818152602081f35b0381f35b34156100c9578182fd5b6100d236610336565b61012d816101018473ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902090565b73ffffffffffffffffffffffffffffffffffffffff821660005280602052505060006040600020905090565b549150508351806100bb838390815260200190565b341561014c578182fd5b61015536610336565b61015f8183610876565b5050818351f35b3415610170578182fd5b61018161017c3661038b565b6103fa565b835173ffffffffffffffffffffffffffffffffffffffff82168152602081f35b34156101ab578182fd5b6101df6101b7366102c2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b8351818152602081f35b34156101f3578182fd5b6101df6101ff366102c2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b3415610231578182fd5b6101df61023d366102c2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205490565b341561026f578182fd5b61027836610306565b6001548351818152602081f35b50505b5036610298576102966103c5565b005b600080fd5b73ffffffffffffffffffffffffffffffffffffffff811681146102bf57600080fd5b50565b600060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc830112156102f457600080fd5b6004356103008161029d565b92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112156102bf57600080fd5b60008060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8401121561036957600080fd5b6004356103758161029d565b91506024356103838161029d565b919391925050565b600060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc830112156103bd57600080fd5b505060043590565b60408051338152346020820152907f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7709082a150565b60006004548210610434577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b5060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b015473ffffffffffffffffffffffffffffffffffffffff1690565b806102bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608481fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561054257610542610500565b500190565b806102bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608481fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260026020526040610602818320541515610476565b4761060f6001548261052f565b90508383526003602052610627828420548286610a7d565b9050610634811515610547565b838352600360205281832061064a82825461052f565b8155506106598160015461052f565b600155804710156106c25781517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606481fd5b828384845184885af193506106d5610d3e565b508361076157815192507f08c379a000000000000000000000000000000000000000000000000000000000835260206004840152603a60248401527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448401527f6563697069656e74206d617920686176652072657665727465640000000000006064840152608483fd5b815173ffffffffffffffffffffffffffffffffffffffff861681526020810182905293507fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056604085a15050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810181811067ffffffffffffffff82111715610800576108006107b1565b60405250565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff8211171561084a5761084a6107b1565b6040525050565b60006020828403121561086357600080fd5b5051919050565b6040513d6000823e3d81fd5b6108ac6108a48373ffffffffffffffffffffffffffffffffffffffff16600090815260026020526040902090565b541515610476565b73ffffffffffffffffffffffffffffffffffffffff8116803b6108ce57600080fd5b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481855afa9150816109125761091261086a565b60008215610933576109243d83610806565b6109303d830183610851565b90505b6109686109618573ffffffffffffffffffffffffffffffffffffffff16600090815260056020526040902090565b548261052f565b925050506109a661099e846101018573ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902090565b548285610a7d565b90506109b3811515610547565b6109e2836101018473ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902090565b6109ed82825461052f565b905573ffffffffffffffffffffffffffffffffffffffff82166000908152600560205260409020610a1f82825461052f565b9055610a2c818484610b30565b6040805173ffffffffffffffffffffffffffffffffffffffff85168152602081018390529083907f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a9083a250505050565b73ffffffffffffffffffffffffffffffffffffffff81166000525060026020526000604060002054827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0481118315151615610adb57610adb610500565b60005480610b12577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b9083020483811015610b2657610b26610500565b9290920392915050565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000602080830191825273ffffffffffffffffffffffffffffffffffffffff8516602484015260448084018790528352906064610b8f8185610806565b5073ffffffffffffffffffffffffffffffffffffffff8416604051610bb3816107e0565b8381527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656484820152813b610c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152846004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606481fd5b6000808651856000865af19450610c5e81610c58610d3e565b87610db1565b945050505081518015610c8357610c83610c7e8383860101848601610c8b565b610cb4565b505050505050565b600060208284031215610c9d57600080fd5b81518015158114610cad57600080fd5b9392505050565b806102bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608481fd5b60003d8015610da9573d67ffffffffffffffff811115610d6057610d606107b1565b604051610d9560207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160182610806565b8181528093503d6000602083013e50505090565b606091505090565b6060818015610dc35783915050610cad565b835115801590610dd557845185602001fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526020806004830152875180602484015260005b81811015610e2a57898101830151848201604401528201610e0e565b81811115610e3c576000604483860101525b506044837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401168501030183fdfea36469706673582212204e48886c7601e92c03331e69de21fdc2ae23be502ca82fe796aaad53f2106fd26c6578706572696d656e74616cf564736f6c63430008090041000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a161f8456ec8f28b921bd6ed52e3bf50e32f3a3000000000000000000000000010cad5406c750899ef1112bfa69066eb052de29e0000000000000000000000001306db7db1b2c4228503f627109dcd957cf74a6e0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000032
Deployed Bytecode
0x60406080815260043610610288576000803560e01c6319165587811461007c57633a98ef39811461009c5763406072a981146100bf576348b75044811461014257638b83209b811461016657639852595c81146101a15763ce7c2ac281146101e95763d79779b281146102275763e33b7de3811461026557610285565b3415610086578182fd5b610097610092366102c2565b6105d1565b818351f35b34156100a6578182fd5b6100af36610306565b81548351818152602081f35b0381f35b34156100c9578182fd5b6100d236610336565b61012d816101018473ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902090565b73ffffffffffffffffffffffffffffffffffffffff821660005280602052505060006040600020905090565b549150508351806100bb838390815260200190565b341561014c578182fd5b61015536610336565b61015f8183610876565b5050818351f35b3415610170578182fd5b61018161017c3661038b565b6103fa565b835173ffffffffffffffffffffffffffffffffffffffff82168152602081f35b34156101ab578182fd5b6101df6101b7366102c2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b8351818152602081f35b34156101f3578182fd5b6101df6101ff366102c2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b3415610231578182fd5b6101df61023d366102c2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205490565b341561026f578182fd5b61027836610306565b6001548351818152602081f35b50505b5036610298576102966103c5565b005b600080fd5b73ffffffffffffffffffffffffffffffffffffffff811681146102bf57600080fd5b50565b600060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc830112156102f457600080fd5b6004356103008161029d565b92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112156102bf57600080fd5b60008060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8401121561036957600080fd5b6004356103758161029d565b91506024356103838161029d565b919391925050565b600060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc830112156103bd57600080fd5b505060043590565b60408051338152346020820152907f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7709082a150565b60006004548210610434577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b5060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b015473ffffffffffffffffffffffffffffffffffffffff1690565b806102bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608481fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561054257610542610500565b500190565b806102bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608481fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260026020526040610602818320541515610476565b4761060f6001548261052f565b90508383526003602052610627828420548286610a7d565b9050610634811515610547565b838352600360205281832061064a82825461052f565b8155506106598160015461052f565b600155804710156106c25781517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606481fd5b828384845184885af193506106d5610d3e565b508361076157815192507f08c379a000000000000000000000000000000000000000000000000000000000835260206004840152603a60248401527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448401527f6563697069656e74206d617920686176652072657665727465640000000000006064840152608483fd5b815173ffffffffffffffffffffffffffffffffffffffff861681526020810182905293507fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056604085a15050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810181811067ffffffffffffffff82111715610800576108006107b1565b60405250565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff8211171561084a5761084a6107b1565b6040525050565b60006020828403121561086357600080fd5b5051919050565b6040513d6000823e3d81fd5b6108ac6108a48373ffffffffffffffffffffffffffffffffffffffff16600090815260026020526040902090565b541515610476565b73ffffffffffffffffffffffffffffffffffffffff8116803b6108ce57600080fd5b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481855afa9150816109125761091261086a565b60008215610933576109243d83610806565b6109303d830183610851565b90505b6109686109618573ffffffffffffffffffffffffffffffffffffffff16600090815260056020526040902090565b548261052f565b925050506109a661099e846101018573ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902090565b548285610a7d565b90506109b3811515610547565b6109e2836101018473ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902090565b6109ed82825461052f565b905573ffffffffffffffffffffffffffffffffffffffff82166000908152600560205260409020610a1f82825461052f565b9055610a2c818484610b30565b6040805173ffffffffffffffffffffffffffffffffffffffff85168152602081018390529083907f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a9083a250505050565b73ffffffffffffffffffffffffffffffffffffffff81166000525060026020526000604060002054827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0481118315151615610adb57610adb610500565b60005480610b12577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b9083020483811015610b2657610b26610500565b9290920392915050565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000602080830191825273ffffffffffffffffffffffffffffffffffffffff8516602484015260448084018790528352906064610b8f8185610806565b5073ffffffffffffffffffffffffffffffffffffffff8416604051610bb3816107e0565b8381527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656484820152813b610c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152846004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606481fd5b6000808651856000865af19450610c5e81610c58610d3e565b87610db1565b945050505081518015610c8357610c83610c7e8383860101848601610c8b565b610cb4565b505050505050565b600060208284031215610c9d57600080fd5b81518015158114610cad57600080fd5b9392505050565b806102bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608481fd5b60003d8015610da9573d67ffffffffffffffff811115610d6057610d606107b1565b604051610d9560207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160182610806565b8181528093503d6000602083013e50505090565b606091505090565b6060818015610dc35783915050610cad565b835115801590610dd557845185602001fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526020806004830152875180602484015260005b81811015610e2a57898101830151848201604401528201610e0e565b81811115610e3c576000604483860101525b506044837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401168501030183fdfea36469706673582212204e48886c7601e92c03331e69de21fdc2ae23be502ca82fe796aaad53f2106fd26c6578706572696d656e74616cf564736f6c63430008090041
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a161f8456ec8f28b921bd6ed52e3bf50e32f3a3000000000000000000000000010cad5406c750899ef1112bfa69066eb052de29e0000000000000000000000001306db7db1b2c4228503f627109dcd957cf74a6e0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000032
-----Decoded View---------------
Arg [0] : payees (address[]): 0xa161F8456EC8F28b921BD6ED52E3Bf50E32F3a30,0x10Cad5406c750899Ef1112bFa69066EB052dE29e,0x1306dB7db1b2c4228503F627109DCD957cf74A6E
Arg [1] : shares_ (uint256[]): 25,25,50
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [3] : 000000000000000000000000a161f8456ec8f28b921bd6ed52e3bf50e32f3a30
Arg [4] : 00000000000000000000000010cad5406c750899ef1112bfa69066eb052de29e
Arg [5] : 0000000000000000000000001306db7db1b2c4228503f627109dcd957cf74a6e
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000032
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,760.24 | 0.0075 | $20.7 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.