Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17337844 | 442 days ago | 0.5404165 ETH | ||||
17337844 | 442 days ago | 0.0298605 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17337844 | 442 days ago | 0.066747 ETH | ||||
17290053 | 448 days ago | 0.039 ETH | ||||
17289858 | 448 days ago | 0.039 ETH | ||||
17289806 | 448 days ago | 0.039 ETH | ||||
17289672 | 448 days ago | 0.156 ETH | ||||
17289019 | 448 days ago | 0.039 ETH | ||||
17288856 | 448 days ago | 0.039 ETH | ||||
17288535 | 449 days ago | 0.039 ETH | ||||
17288298 | 449 days ago | 0.078 ETH | ||||
17288153 | 449 days ago | 0.039 ETH | ||||
17287741 | 449 days ago | 0.078 ETH | ||||
17287458 | 449 days ago | 0.039 ETH | ||||
17287458 | 449 days ago | 0.039 ETH | ||||
17287449 | 449 days ago | 0.039 ETH | ||||
17287280 | 449 days ago | 0.039 ETH |
Loading...
Loading
Contract Name:
PaymentSplitterTimeBased
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitterTimeBased.sol) pragma solidity 0.8.17; import "@openzeppelin/contracts/access/Ownable.sol"; import "./SplitterAddress.sol"; /** * @title PaymentSplitterTimeBased * @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. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `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. * */ contract PaymentSplitterTimeBased is Ownable{ event PayeeAdded(address indexed account, uint256 shares); event PaymentReleased(address indexed to, uint256 amount); event PaymentReceived(address indexed from, uint256 amount); event Log(string message); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; uint stopTime; /** * @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_, uint stopTime_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); stopTime = stopTime_; uint256 limit = payees.length; for (uint256 i = 0; i < limit;) { _addPayee(payees[i], shares_[i]); unchecked { 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 { if (block.timestamp < stopTime) { return; } uint256 limit = _payees.length; for (uint256 i = 0; i < limit;) { try this.release(payable(_payees[i])) { } catch { emit Log("PaymentSplitter : external call failed"); } unchecked { i++; } } emit PaymentReceived(msg.sender, msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @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 { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _totalReleased is the sum of all values in _released. // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow. _totalReleased += payment; unchecked { _released[account] += payment; } SplitterAddress.sendValue(account, payment); emit PaymentReleased(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_); } function changeStopTime(uint stopTime_) external onlyOwner { stopTime = stopTime_; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity 0.8.17; /** * @dev Collection of functions related to the address type */ library SplitterAddress { /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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. * ==== */ /** * @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://consensys.net/diligence/blog/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"); } }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 800 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"},{"internalType":"uint256","name":"stopTime_","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"Log","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"inputs":[{"internalType":"uint256","name":"stopTime_","type":"uint256"}],"name":"changeStopTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260405162000f9138038062000f91833981016040819052620000269162000482565b620000313362000167565b8151835114620000a35760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000835111620000f65760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200009a565b6006819055825160005b818110156200015c576200015385828151811062000122576200012262000569565b60200260200101518583815181106200013f576200013f62000569565b6020026020010151620001b760201b60201c565b60010162000100565b5050505050620005a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620002245760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200009a565b60008111620002765760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200009a565b6001600160a01b03821660009081526003602052604090205415620002f25760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200009a565b6005805460018082019092557f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556000908152600360205260409020829055546200035b9082906200057f565b6001556040518181526001600160a01b038316907f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac9060200160405180910390a25050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620003e157620003e1620003a0565b604052919050565b60006001600160401b03821115620004055762000405620003a0565b5060051b60200190565b600082601f8301126200042157600080fd5b815160206200043a6200043483620003e9565b620003b6565b82815260059290921b840181019181810190868411156200045a57600080fd5b8286015b848110156200047757805183529183019183016200045e565b509695505050505050565b6000806000606084860312156200049857600080fd5b83516001600160401b0380821115620004b057600080fd5b818601915086601f830112620004c557600080fd5b81516020620004d86200043483620003e9565b82815260059290921b8401810191818101908a841115620004f857600080fd5b948201945b838610156200052f5785516001600160a01b03811681146200051f5760008081fd5b82529482019490820190620004fd565b918901519197509093505050808211156200054957600080fd5b5062000558868287016200040f565b925050604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b80820180821115620005a157634e487b7160e01b600052601160045260246000fd5b92915050565b6109da80620005b76000396000f3fe6080604052600436106100c05760003560e01c80639852595c11610074578063e33b7de31161004e578063e33b7de31461038b578063f2fde38b146103a0578063f9f6f0f8146103c057600080fd5b80639852595c146102ff578063a3f8eace14610335578063ce7c2ac21461035557600080fd5b8063715018a6116100a5578063715018a6146102945780638b83209b146102a95780638da5cb5b146102e157600080fd5b8063191655871461024e5780633a98ef391461027057600080fd5b36610249576006544210156100d157005b60055460005b8181101561021157306001600160a01b0316631916558760058381548110610101576101016108c8565b60009182526020909120015460405160e083901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b039091166004820152602401600060405180830381600087803b15801561016657600080fd5b505af1925050508015610177575060015b610209577fcf34ef537ac33ee1ac626ca1587a0a7e8e51561e5514f8cb36afa1c5102b3bab6040516102009060208082526026908201527f5061796d656e7453706c6974746572203a2065787465726e616c2063616c6c2060408201527f6661696c65640000000000000000000000000000000000000000000000000000606082015260800190565b60405180910390a15b6001016100d7565b5060405134815233907f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7709060200160405180910390a2005b600080fd5b34801561025a57600080fd5b5061026e6102693660046108f3565b6103e0565b005b34801561027c57600080fd5b506001545b6040519081526020015b60405180910390f35b3480156102a057600080fd5b5061026e610579565b3480156102b557600080fd5b506102c96102c4366004610910565b61058d565b6040516001600160a01b03909116815260200161028b565b3480156102ed57600080fd5b506000546001600160a01b03166102c9565b34801561030b57600080fd5b5061028161031a3660046108f3565b6001600160a01b031660009081526004602052604090205490565b34801561034157600080fd5b506102816103503660046108f3565b6105bd565b34801561036157600080fd5b506102816103703660046108f3565b6001600160a01b031660009081526003602052604090205490565b34801561039757600080fd5b50600254610281565b3480156103ac57600080fd5b5061026e6103bb3660046108f3565b610605565b3480156103cc57600080fd5b5061026e6103db366004610910565b610695565b6001600160a01b0381166000908152600360205260409020546104705760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f736861726573000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600061047b826105bd565b9050806000036104f35760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610467565b8060026000828254610505919061093f565b90915550506001600160a01b038216600090815260046020526040902080548201905561053282826106a2565b816001600160a01b03167fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568260405161056d91815260200190565b60405180910390a25050565b6105816107c0565b61058b600061081a565b565b6000600582815481106105a2576105a26108c8565b6000918252602090912001546001600160a01b031692915050565b6000806105c960025490565b6105d3904761093f565b90506105fe83826105f9866001600160a01b031660009081526004602052604090205490565b610882565b9392505050565b61060d6107c0565b6001600160a01b0381166106895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610467565b6106928161081a565b50565b61069d6107c0565b600655565b804710156106f25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610467565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461073f576040519150601f19603f3d011682016040523d82523d6000602084013e610744565b606091505b50509050806107bb5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610467565b505050565b6000546001600160a01b0316331461058b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610467565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001546001600160a01b038416600090815260036020526040812054909183916108ac9086610958565b6108b6919061096f565b6108c09190610991565b949350505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461069257600080fd5b60006020828403121561090557600080fd5b81356105fe816108de565b60006020828403121561092257600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561095257610952610929565b92915050565b808202811582820484141761095257610952610929565b60008261098c57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156109525761095261092956fea2646970667358221220ace6d4f5bf9ba416b13394ffa7d591d0e8029b0b0faca165768d4d692a0b4fe464736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000006466ca10000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000002f3c570150db8a4dc572d59229c6a109dfd95c420000000000000000000000005834adc853668a767fa77aefbdcb96973a051c2d0000000000000000000000002761c36bf345e77289d277f1ad6f484a54616e3500000000000000000000000048fc743332c60138a67e106d4588ede9687e249d000000000000000000000000e5da55f6ea203e3b8fd3eeebb5cf8c9eced175fe0000000000000000000000006530a5c975f34a682af6c3b198471ea52c7a20c600000000000000000000000055789b974b03cff2b5a949ead427212388385535000000000000000000000000a3bbcf0273e1ebcc441d32f837d26bf9c8ef1e6a000000000000000000000000aa51971c9a30b18234a3e673e2ae14cbcfea9355000000000000000000000000c46948791d7bae7096999cff6224025b1bb548370000000000000000000000002f220dcbb9647b8dc0596017ec54759aeaed730f000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a00000000000000000000000000000000000000000000000000000000000000ff0000000000000000000000000000000000000000000000000000000000001207
Deployed Bytecode
0x6080604052600436106100c05760003560e01c80639852595c11610074578063e33b7de31161004e578063e33b7de31461038b578063f2fde38b146103a0578063f9f6f0f8146103c057600080fd5b80639852595c146102ff578063a3f8eace14610335578063ce7c2ac21461035557600080fd5b8063715018a6116100a5578063715018a6146102945780638b83209b146102a95780638da5cb5b146102e157600080fd5b8063191655871461024e5780633a98ef391461027057600080fd5b36610249576006544210156100d157005b60055460005b8181101561021157306001600160a01b0316631916558760058381548110610101576101016108c8565b60009182526020909120015460405160e083901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b039091166004820152602401600060405180830381600087803b15801561016657600080fd5b505af1925050508015610177575060015b610209577fcf34ef537ac33ee1ac626ca1587a0a7e8e51561e5514f8cb36afa1c5102b3bab6040516102009060208082526026908201527f5061796d656e7453706c6974746572203a2065787465726e616c2063616c6c2060408201527f6661696c65640000000000000000000000000000000000000000000000000000606082015260800190565b60405180910390a15b6001016100d7565b5060405134815233907f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7709060200160405180910390a2005b600080fd5b34801561025a57600080fd5b5061026e6102693660046108f3565b6103e0565b005b34801561027c57600080fd5b506001545b6040519081526020015b60405180910390f35b3480156102a057600080fd5b5061026e610579565b3480156102b557600080fd5b506102c96102c4366004610910565b61058d565b6040516001600160a01b03909116815260200161028b565b3480156102ed57600080fd5b506000546001600160a01b03166102c9565b34801561030b57600080fd5b5061028161031a3660046108f3565b6001600160a01b031660009081526004602052604090205490565b34801561034157600080fd5b506102816103503660046108f3565b6105bd565b34801561036157600080fd5b506102816103703660046108f3565b6001600160a01b031660009081526003602052604090205490565b34801561039757600080fd5b50600254610281565b3480156103ac57600080fd5b5061026e6103bb3660046108f3565b610605565b3480156103cc57600080fd5b5061026e6103db366004610910565b610695565b6001600160a01b0381166000908152600360205260409020546104705760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f736861726573000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600061047b826105bd565b9050806000036104f35760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610467565b8060026000828254610505919061093f565b90915550506001600160a01b038216600090815260046020526040902080548201905561053282826106a2565b816001600160a01b03167fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568260405161056d91815260200190565b60405180910390a25050565b6105816107c0565b61058b600061081a565b565b6000600582815481106105a2576105a26108c8565b6000918252602090912001546001600160a01b031692915050565b6000806105c960025490565b6105d3904761093f565b90506105fe83826105f9866001600160a01b031660009081526004602052604090205490565b610882565b9392505050565b61060d6107c0565b6001600160a01b0381166106895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610467565b6106928161081a565b50565b61069d6107c0565b600655565b804710156106f25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610467565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461073f576040519150601f19603f3d011682016040523d82523d6000602084013e610744565b606091505b50509050806107bb5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610467565b505050565b6000546001600160a01b0316331461058b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610467565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001546001600160a01b038416600090815260036020526040812054909183916108ac9086610958565b6108b6919061096f565b6108c09190610991565b949350505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461069257600080fd5b60006020828403121561090557600080fd5b81356105fe816108de565b60006020828403121561092257600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561095257610952610929565b92915050565b808202811582820484141761095257610952610929565b60008261098c57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156109525761095261092956fea2646970667358221220ace6d4f5bf9ba416b13394ffa7d591d0e8029b0b0faca165768d4d692a0b4fe464736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000006466ca10000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000002f3c570150db8a4dc572d59229c6a109dfd95c420000000000000000000000005834adc853668a767fa77aefbdcb96973a051c2d0000000000000000000000002761c36bf345e77289d277f1ad6f484a54616e3500000000000000000000000048fc743332c60138a67e106d4588ede9687e249d000000000000000000000000e5da55f6ea203e3b8fd3eeebb5cf8c9eced175fe0000000000000000000000006530a5c975f34a682af6c3b198471ea52c7a20c600000000000000000000000055789b974b03cff2b5a949ead427212388385535000000000000000000000000a3bbcf0273e1ebcc441d32f837d26bf9c8ef1e6a000000000000000000000000aa51971c9a30b18234a3e673e2ae14cbcfea9355000000000000000000000000c46948791d7bae7096999cff6224025b1bb548370000000000000000000000002f220dcbb9647b8dc0596017ec54759aeaed730f000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a000000000000000000000000000000000000000000000000000000000000023a00000000000000000000000000000000000000000000000000000000000000ff0000000000000000000000000000000000000000000000000000000000001207
-----Decoded View---------------
Arg [0] : payees (address[]): 0x2F3c570150DB8A4DC572D59229c6a109DFD95c42,0x5834ADc853668a767fa77AeFBDcb96973a051c2d,0x2761c36bf345E77289D277f1ad6f484A54616E35,0x48fC743332c60138A67E106D4588EdE9687E249D,0xE5da55F6ea203E3b8fD3EeEbB5cf8C9ECED175FE,0x6530a5C975F34a682af6C3B198471Ea52c7a20C6,0x55789b974b03cfF2B5A949EAd427212388385535,0xa3bBcF0273E1EbCC441d32F837D26Bf9c8Ef1e6a,0xAa51971c9A30b18234a3e673e2AE14cbcFeA9355,0xc46948791d7bAE7096999cFF6224025B1BB54837,0x2f220dCbB9647b8DC0596017ec54759AEAEd730f
Arg [1] : shares_ (uint256[]): 570,570,570,570,570,570,570,570,570,255,4615
Arg [2] : stopTime_ (uint256): 1684458000
-----Encoded View---------------
27 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [2] : 000000000000000000000000000000000000000000000000000000006466ca10
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 0000000000000000000000002f3c570150db8a4dc572d59229c6a109dfd95c42
Arg [5] : 0000000000000000000000005834adc853668a767fa77aefbdcb96973a051c2d
Arg [6] : 0000000000000000000000002761c36bf345e77289d277f1ad6f484a54616e35
Arg [7] : 00000000000000000000000048fc743332c60138a67e106d4588ede9687e249d
Arg [8] : 000000000000000000000000e5da55f6ea203e3b8fd3eeebb5cf8c9eced175fe
Arg [9] : 0000000000000000000000006530a5c975f34a682af6c3b198471ea52c7a20c6
Arg [10] : 00000000000000000000000055789b974b03cff2b5a949ead427212388385535
Arg [11] : 000000000000000000000000a3bbcf0273e1ebcc441d32f837d26bf9c8ef1e6a
Arg [12] : 000000000000000000000000aa51971c9a30b18234a3e673e2ae14cbcfea9355
Arg [13] : 000000000000000000000000c46948791d7bae7096999cff6224025b1bb54837
Arg [14] : 0000000000000000000000002f220dcbb9647b8dc0596017ec54759aeaed730f
Arg [15] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [16] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [17] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [18] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [19] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [20] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [21] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [22] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [23] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [24] : 000000000000000000000000000000000000000000000000000000000000023a
Arg [25] : 00000000000000000000000000000000000000000000000000000000000000ff
Arg [26] : 0000000000000000000000000000000000000000000000000000000000001207
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.