More Info
Private Name Tags
ContractCreator
Latest 17 from a total of 17 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Flush Common | 16283069 | 753 days ago | IN | 0 ETH | 0.00213757 | ||||
Flush Common | 16171196 | 769 days ago | IN | 0 ETH | 0.00306778 | ||||
Flush Common | 16067794 | 783 days ago | IN | 0 ETH | 0.00208697 | ||||
Flush Common | 15913357 | 805 days ago | IN | 0 ETH | 0.00170788 | ||||
Flush Common | 15763285 | 826 days ago | IN | 0 ETH | 0.00195168 | ||||
Flush Common | 15624457 | 845 days ago | IN | 0 ETH | 0.00228007 | ||||
Flush Common | 15479700 | 867 days ago | IN | 0 ETH | 0.00262259 | ||||
Flush Common | 15284413 | 898 days ago | IN | 0 ETH | 0.00174085 | ||||
Transfer | 15278660 | 899 days ago | IN | 0.031352 ETH | 0.0003898 | ||||
Transfer | 15272374 | 900 days ago | IN | 0.0175 ETH | 0.00042339 | ||||
Flush Common | 15255417 | 903 days ago | IN | 0 ETH | 0.00207065 | ||||
Flush Common | 15188431 | 913 days ago | IN | 0 ETH | 0.0025683 | ||||
Flush Common | 15132337 | 922 days ago | IN | 0 ETH | 0.00146751 | ||||
Transfer | 15120357 | 924 days ago | IN | 0.32447485 ETH | 0.00038903 | ||||
Flush Common | 15030612 | 938 days ago | IN | 0 ETH | 0.00469409 | ||||
Flush Common | 14966515 | 950 days ago | IN | 0 ETH | 0.0367053 | ||||
Transfer | 14965561 | 950 days ago | IN | 0.72185494 ETH | 0.00165488 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
17294693 | 611 days ago | 0.00195 ETH | ||||
17097313 | 639 days ago | 0.0005 ETH | ||||
17053971 | 645 days ago | 0.00004 ETH | ||||
17011877 | 651 days ago | 0.00004 ETH | ||||
17010190 | 651 days ago | 0.0000395 ETH | ||||
16906398 | 666 days ago | 0.00004 ETH | ||||
16895251 | 668 days ago | 0.000039 ETH | ||||
16891756 | 668 days ago | 0.0005 ETH | ||||
16857374 | 673 days ago | 0.00004 ETH | ||||
16830654 | 677 days ago | 0.00004 ETH | ||||
16815623 | 679 days ago | 0.00049 ETH | ||||
16815621 | 679 days ago | 0.00495 ETH | ||||
16815576 | 679 days ago | 0.00495 ETH | ||||
16798339 | 681 days ago | 0.0004295 ETH | ||||
16798336 | 681 days ago | 0.0044 ETH | ||||
16798312 | 681 days ago | 0.0004 ETH | ||||
16795987 | 682 days ago | 0.0044 ETH | ||||
16754679 | 687 days ago | 0.000395 ETH | ||||
16725565 | 692 days ago | 0.000275 ETH | ||||
16708055 | 694 days ago | 0.000275 ETH | ||||
16674494 | 699 days ago | 0.000445 ETH | ||||
16600294 | 709 days ago | 0.000275 ETH | ||||
16506128 | 722 days ago | 0.0003 ETH | ||||
16420898 | 734 days ago | 0.0085 ETH | ||||
16364644 | 742 days ago | 0.00043 ETH |
Loading...
Loading
Contract Name:
RoyaltiesSplitter
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /** 8 888888888o. ,o888888o. ,o888888o. 8 8888 `88. 8888 `88. 8888 `88. 8 8888 `88 ,8 8888 `8. ,8 8888 `8. 8 8888 ,88 88 8888 88 8888 8 8888. ,88' 88 8888 88 8888 8 888888888P' 88 8888 88 8888 8 8888`8b 88 8888 88 8888 8 8888 `8b. `8 8888 .8' `8 8888 .8' 8 8888 `8b. 8888 ,88' 8888 ,88' 8 8888 `88. `8888888P' `8888888P' */ import "@mikker/contracts/contracts/Splitter.sol"; contract RoyaltiesSplitter is Splitter { constructor( address[] memory payees, uint256[] memory shares, address weth ) Splitter(payees, shares, weth) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* ████████████ ██ ██ ██ ██▓▓ ██ ████▓▓▓▓▓▓ ██ ██████▓▓▒▒▓▓▓▓▓▓▓▓ ████████▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒ ██ ████████▓▓▒▒▒▒▒▒▒▒▒▒ ██ ██▓▓▒▒▒▒▒▒▒▒ ██ ██▓▓▓▓▓▓▓▓ ██ ██ ██ ██ '||''|. || '|| ██ ██ || || ... .. .... ... .. ... || ... ... ... ... ... ██ ██ ||'''|. ||' '' '' .|| || || || ||' || .| '|. || || | ██ ██ || || || .|' || || || || || | || || ||| ||| ██████████ .||...|' .||. '|..'|' .||. .||. ||. '|...' '|..|' | | */ import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; /** * @dev An opinionated implementation of a general purpose PaymentSplitter. * Rather than letting each payee pull their funds on their own, a few convenience functions * let the owner flush all funds, Ether and Wrapped Ether, in one transaction. */ contract Splitter is PaymentSplitter, AccessControl { bytes32 public constant FLUSHWORTHY = keccak256("FLUSHWORTHY"); address[] private _payees; IERC20 weth; constructor( address[] memory payees, uint256[] memory _shares, address _wethAddr ) PaymentSplitter(payees, _shares) { _payees = payees; _grantRole(DEFAULT_ADMIN_ROLE, _msgSender()); _grantRole(FLUSHWORTHY, _msgSender()); for (uint256 i = 0; i < payees.length; i++) { _grantRole(FLUSHWORTHY, payees[i]); } weth = IERC20(_wethAddr); } function flush() public onlyRole(FLUSHWORTHY) { uint256 length = _payees.length; for (uint256 i = 0; i < length; i++) { address payee = _payees[i]; release(payable(payee)); } } function flushToken(IERC20 token) public onlyRole(FLUSHWORTHY) { uint256 length = _payees.length; for (uint256 i = 0; i < length; i++) { address payee = _payees[i]; release(token, payable(payee)); } } function flushCommon() public onlyRole(FLUSHWORTHY) { uint256 length = _payees.length; bool hasWeth = weth.balanceOf(address(this)) > 0; for (uint256 i = 0; i < length; i++) { address payable payee = payable(_payees[i]); release(payable(payee)); if (hasWeth) release(weth, payable(payee)); } } }
// 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 v4.4.1 (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// 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 v4.4.1 (utils/Address.sol) 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); } } } }
// 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200, "details": { "yul": false } }, "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":"address","name":"weth","type":"address"}],"stateMutability":"nonpayable","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FLUSHWORTHY","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flush","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flushCommon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"flushToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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 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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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
60806040523480156200001157600080fd5b50604051620020303803806200203083398101604081905262000034916200061f565b82828282828051825114620000665760405162461bcd60e51b81526004016200005d9062000700565b60405180910390fd5b60008251116200008a5760405162461bcd60e51b81526004016200005d9062000749565b60005b8251811015620000f657620000e1838281518110620000b057620000b06200075b565b6020026020010151838381518110620000cd57620000cd6200075b565b6020026020010151620001c360201b60201c565b80620000ed8162000787565b9150506200008d565b505083516200010e91506008906020860190620003ab565b506200011c600033620002f3565b620001376000805160206200201083398151915233620002f3565b60005b8351811015620001965762000181600080516020620020108339815191528583815181106200016d576200016d6200075b565b6020026020010151620002f360201b60201c565b806200018d8162000787565b9150506200013a565b50600980546001600160a01b0319166001600160a01b039290921691909117905550620008fc9350505050565b6001600160a01b038216620001ec5760405162461bcd60e51b81526004016200005d90620007ef565b600081116200020f5760405162461bcd60e51b81526004016200005d9062000836565b6001600160a01b03821660009081526002602052604090205415620002485760405162461bcd60e51b81526004016200005d9062000891565b60048054600181019091557f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b038416908117909155600090815260026020526040812082905554620002b0908290620008a3565b6000556040517f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac90620002e79084908490620008d6565b60405180910390a15050565b620002ff82826200037e565b6200037a5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003393390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b82805482825590600052602060002090810192821562000403579160200282015b828111156200040357825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620003cc565b506200041192915062000415565b5090565b5b8082111562000411576000815560010162000416565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b03821117156200046a576200046a6200042c565b6040525050565b60006200047d60405190565b90506200048b828262000442565b919050565b60006001600160401b03821115620004ac57620004ac6200042c565b5060209081020190565b60006001600160a01b038216620003a5565b620004d381620004b6565b8114620004df57600080fd5b50565b8051620003a581620004c8565b600062000506620005008462000490565b62000471565b83815290506020808201908402830185811115620005275762000527600080fd5b835b818110156200054f57806200053f8882620004e2565b8452506020928301920162000529565b5050509392505050565b600082601f8301126200056f576200056f600080fd5b815162000581848260208601620004ef565b949350505050565b80620004d3565b8051620003a58162000589565b6000620005ae620005008462000490565b83815290506020808201908402830185811115620005cf57620005cf600080fd5b835b818110156200054f5780620005e7888262000590565b84525060209283019201620005d1565b600082601f8301126200060d576200060d600080fd5b8151620005818482602086016200059d565b600080600060608486031215620006395762000639600080fd5b83516001600160401b03811115620006545762000654600080fd5b620006628682870162000559565b93505060208401516001600160401b03811115620006835762000683600080fd5b6200069186828701620005f7565b9250506040620006a486828701620004e2565b9150509250925092565b603281526000602082017f5061796d656e7453706c69747465723a2070617965657320616e6420736861728152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b602082015291505b5060400190565b60208082528101620003a581620006ae565b601a81526000602082017f5061796d656e7453706c69747465723a206e6f20706179656573000000000000815291505b5060200190565b60208082528101620003a58162000712565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156200079e576200079e62000771565b5060010190565b602c81526000602082017f5061796d656e7453706c69747465723a206163636f756e74206973207468652081526b7a65726f206164647265737360a01b60208201529150620006f9565b60208082528101620003a581620007a5565b601d81526000602082017f5061796d656e7453706c69747465723a207368617265732061726520300000008152915062000742565b60208082528101620003a58162000801565b602b81526000602082017f5061796d656e7453706c69747465723a206163636f756e7420616c726561647981526a206861732073686172657360a81b60208201529150620006f9565b60208082528101620003a58162000848565b60008219821115620008b957620008b962000771565b500190565b620008c981620004b6565b82525050565b80620008c9565b60408101620008e68285620008be565b620008f56020830184620008cf565b9392505050565b611704806200090c6000396000f3fe6080604052600436106101235760003560e01c80636b9f96ea116100a0578063a217fddf11610064578063a217fddf146103a7578063ce7c2ac2146103bc578063d547741f146103f2578063d79779b214610412578063e33b7de31461044857600080fd5b80636b9f96ea146102ef5780638b83209b1461030457806391d14854146103315780639852595c146103515780639cee789f1461038757600080fd5b806336568abe116100e757806336568abe146102325780633a98ef3914610252578063406072a91461026757806348b75044146102ad57806361bba472146102cd57600080fd5b806301ffc9a714610168578063191655871461019e578063248a9ca3146101c057806328d7753e146101fd5780632f2ff15d1461021257600080fd5b36610163577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770333460405161015992919061100a565b60405180910390a1005b600080fd5b34801561017457600080fd5b5061018861018336600461104a565b61045d565b604051610195919061107b565b60405180910390f35b3480156101aa57600080fd5b506101be6101b936600461109d565b610494565b005b3480156101cc57600080fd5b506101f06101db3660046110cf565b60009081526007602052604090206001015490565b60405161019591906110f0565b34801561020957600080fd5b506101be6105c2565b34801561021e57600080fd5b506101be61022d3660046110fe565b6106db565b34801561023e57600080fd5b506101be61024d3660046110fe565b610706565b34801561025e57600080fd5b506000546101f0565b34801561027357600080fd5b506101f061028236600461115a565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156102b957600080fd5b506101be6102c836600461115a565b61073c565b3480156102d957600080fd5b506101f06000805160206116af83398151915281565b3480156102fb57600080fd5b506101be610926565b34801561031057600080fd5b5061032461031f3660046110cf565b610995565b604051610195919061117c565b34801561033d57600080fd5b5061018861034c3660046110fe565b6109c5565b34801561035d57600080fd5b506101f061036c36600461109d565b6001600160a01b031660009081526003602052604090205490565b34801561039357600080fd5b506101be6103a236600461118a565b6109f0565b3480156103b357600080fd5b506101f0600081565b3480156103c857600080fd5b506101f06103d736600461109d565b6001600160a01b031660009081526002602052604090205490565b3480156103fe57600080fd5b506101be61040d3660046110fe565b610a60565b34801561041e57600080fd5b506101f061042d36600461118a565b6001600160a01b031660009081526005602052604090205490565b34801561045457600080fd5b506001546101f0565b60006001600160e01b03198216637965db0b60e01b148061048e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6001600160a01b0381166000908152600260205260409020546104d25760405162461bcd60e51b81526004016104c9906111f1565b60405180910390fd5b60006104dd60015490565b6104e79047611217565b90506000610514838361050f866001600160a01b031660009081526003602052604090205490565b610a86565b9050806105335760405162461bcd60e51b81526004016104c990611277565b6001600160a01b0383166000908152600360205260408120805483929061055b908490611217565b9250508190555080600160008282546105749190611217565b9091555061058490508382610acb565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516105b592919061129b565b60405180910390a1505050565b6000805160206116af8339815191526105db8133610b67565b6008546009546040516370a0823160e01b815260009182916001600160a01b03909116906370a082319061061390309060040161117c565b60206040518083038186803b15801561062b57600080fd5b505afa15801561063f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066391906112b4565b11905060005b828110156106d557600060088281548110610686576106866112d5565b6000918252602090912001546001600160a01b031690506106a681610494565b82156106c2576009546106c2906001600160a01b03168261073c565b50806106cd816112eb565b915050610669565b50505050565b6000828152600760205260409020600101546106f78133610b67565b6107018383610bcb565b505050565b6001600160a01b038116331461072e5760405162461bcd60e51b81526004016104c990611352565b6107388282610c51565b5050565b6001600160a01b0381166000908152600260205260409020546107715760405162461bcd60e51b81526004016104c9906111f1565b6001600160a01b0382166000908152600560205260408120546040516370a0823160e01b81526001600160a01b038516906370a08231906107b690309060040161117c565b60206040518083038186803b1580156107ce57600080fd5b505afa1580156107e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080691906112b4565b6108109190611217565b90506000610849838361050f87876001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b9050806108685760405162461bcd60e51b81526004016104c990611277565b6001600160a01b0380851660009081526006602090815260408083209387168352929052908120805483929061089f908490611217565b90915550506001600160a01b038416600090815260056020526040812080548392906108cc908490611217565b909155506108dd9050848483610cb8565b836001600160a01b03167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161091892919061100a565b60405180910390a250505050565b6000805160206116af83398151915261093f8133610b67565b60085460005b8181101561070157600060088281548110610962576109626112d5565b6000918252602090912001546001600160a01b0316905061098281610494565b508061098d816112eb565b915050610945565b6000600482815481106109aa576109aa6112d5565b6000918252602090912001546001600160a01b031692915050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206116af833981519152610a098133610b67565b60085460005b818110156106d557600060088281548110610a2c57610a2c6112d5565b6000918252602090912001546001600160a01b03169050610a4d858261073c565b5080610a58816112eb565b915050610a0f565b600082815260076020526040902060010154610a7c8133610b67565b6107018383610c51565b600080546001600160a01b038516825260026020526040822054839190610aad9086611362565b610ab79190611397565b610ac191906113ab565b90505b9392505050565b80471015610aeb5760405162461bcd60e51b81526004016104c9906113f9565b6000826001600160a01b031682604051610b0490611409565b60006040518083038185875af1925050503d8060008114610b41576040519150601f19603f3d011682016040523d82523d6000602084013e610b46565b606091505b50509050806107015760405162461bcd60e51b81526004016104c99061146b565b610b7182826109c5565b61073857610b89816001600160a01b03166014610d0e565b610b94836020610d0e565b604051602001610ba59291906114c9565b60408051601f198184030181529082905262461bcd60e51b82526104c991600401611553565b610bd582826109c5565b6107385760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610c0d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610c5b82826109c5565b156107385760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6107018363a9059cbb60e01b8484604051602401610cd792919061100a565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e7a565b60606000610d1d836002611362565b610d28906002611217565b67ffffffffffffffff811115610d4057610d40611564565b6040519080825280601f01601f191660200182016040528015610d6a576020820181803683370190505b509050600360fc1b81600081518110610d8557610d856112d5565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610db457610db46112d5565b60200101906001600160f81b031916908160001a9053506000610dd8846002611362565b610de3906001611217565b90505b6001811115610e5b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610e1757610e176112d5565b1a60f81b828281518110610e2d57610e2d6112d5565b60200101906001600160f81b031916908160001a90535060049490941c93610e548161157a565b9050610de6565b508315610ac45760405162461bcd60e51b81526004016104c9906115c3565b6000610ecf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f099092919063ffffffff16565b8051909150156107015780806020019051810190610eed91906115e6565b6107015760405162461bcd60e51b81526004016104c99061164e565b6060610ac1848460008585843b610f325760405162461bcd60e51b81526004016104c990611692565b600080866001600160a01b03168587604051610f4e91906116a2565b60006040518083038185875af1925050503d8060008114610f8b576040519150601f19603f3d011682016040523d82523d6000602084013e610f90565b606091505b5091509150610fa0828286610fab565b979650505050505050565b60608315610fba575081610ac4565b825115610fca5782518084602001fd5b8160405162461bcd60e51b81526004016104c99190611553565b60006001600160a01b03821661048e565b610ffe81610fe4565b82525050565b80610ffe565b604081016110188285610ff5565b610ac46020830184611004565b6001600160e01b031981165b811461103c57600080fd5b50565b803561048e81611025565b60006020828403121561105f5761105f600080fd5b600061106b848461103f565b949350505050565b801515610ffe565b6020810161048e8284611073565b61103181610fe4565b803561048e81611089565b6000602082840312156110b2576110b2600080fd5b600061106b8484611092565b80611031565b803561048e816110be565b6000602082840312156110e4576110e4600080fd5b600061106b84846110c4565b6020810161048e8284611004565b6000806040838503121561111457611114600080fd5b600061112085856110c4565b925050602061113185828601611092565b9150509250929050565b600061048e82610fe4565b6110318161113b565b803561048e81611146565b6000806040838503121561117057611170600080fd5b6000611120858561114f565b6020810161048e8284610ff5565b60006020828403121561119f5761119f600080fd5b600061106b848461114f565b602681526000602082017f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2081526573686172657360d01b602082015291505b5060400190565b6020808252810161048e816111ab565b634e487b7160e01b600052601160045260246000fd5b6000821982111561122a5761122a611201565b500190565b602b81526000602082017f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742081526a191d59481c185e5b595b9d60aa1b602082015291506111ea565b6020808252810161048e8161122f565b600061048e8261113b565b610ffe81611287565b604081016110188285611292565b805161048e816110be565b6000602082840312156112c9576112c9600080fd5b600061106b84846112a9565b634e487b7160e01b600052603260045260246000fd5b60006000198214156112ff576112ff611201565b5060010190565b602f81526000602082017f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636581526e103937b632b9903337b91039b2b63360891b602082015291506111ea565b6020808252810161048e81611306565b600081600019048311821515161561137c5761137c611201565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826113a6576113a6611381565b500490565b6000828210156113bd576113bd611201565b500390565b601d81526000602082017f416464726573733a20696e73756666696369656e742062616c616e6365000000815291505b5060200190565b6020808252810161048e816113c2565b60008161048e565b603a81526000602082017f416464726573733a20756e61626c6520746f2073656e642076616c75652c207281527f6563697069656e74206d61792068617665207265766572746564000000000000602082015291506111ea565b6020808252810161048e81611411565b60005b8381101561149657818101518382015260200161147e565b838111156106d55750506000910152565b60006114b1825190565b6114bf81856020860161147b565b9290920192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260170160006114fb82856114a7565b7001034b99036b4b9b9b4b733903937b6329607d1b8152601101915061106b82846114a7565b600061152b825190565b80845260208401935061154281856020860161147b565b601f01601f19169290920192915050565b60208082528101610ac48184611521565b634e487b7160e01b600052604160045260246000fd5b60008161158957611589611201565b506000190190565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e74910190815260006113f2565b6020808252810161048e81611591565b801515611031565b805161048e816115d3565b6000602082840312156115fb576115fb600080fd5b600061106b84846115db565b602a81526000602082017f5361666545524332303a204552433230206f7065726174696f6e20646964206e8152691bdd081cdd58d8d9595960b21b602082015291506111ea565b6020808252810161048e81611607565b601d81526000602082017f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000815291506113f2565b6020808252810161048e8161165e565b6000610ac482846114a756fefeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519ba26469706673582212202597c512ac42236d3d8c1c14bf2ea15346f7a4dc91a80c62d5ddb1b928730a5964736f6c63430008090033feb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e73d0696b127b448fc8b380ceba3ab47996e1c8300000000000000000000000022332745a083d7eb0ef66327df61844b565045bd000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x6080604052600436106101235760003560e01c80636b9f96ea116100a0578063a217fddf11610064578063a217fddf146103a7578063ce7c2ac2146103bc578063d547741f146103f2578063d79779b214610412578063e33b7de31461044857600080fd5b80636b9f96ea146102ef5780638b83209b1461030457806391d14854146103315780639852595c146103515780639cee789f1461038757600080fd5b806336568abe116100e757806336568abe146102325780633a98ef3914610252578063406072a91461026757806348b75044146102ad57806361bba472146102cd57600080fd5b806301ffc9a714610168578063191655871461019e578063248a9ca3146101c057806328d7753e146101fd5780632f2ff15d1461021257600080fd5b36610163577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770333460405161015992919061100a565b60405180910390a1005b600080fd5b34801561017457600080fd5b5061018861018336600461104a565b61045d565b604051610195919061107b565b60405180910390f35b3480156101aa57600080fd5b506101be6101b936600461109d565b610494565b005b3480156101cc57600080fd5b506101f06101db3660046110cf565b60009081526007602052604090206001015490565b60405161019591906110f0565b34801561020957600080fd5b506101be6105c2565b34801561021e57600080fd5b506101be61022d3660046110fe565b6106db565b34801561023e57600080fd5b506101be61024d3660046110fe565b610706565b34801561025e57600080fd5b506000546101f0565b34801561027357600080fd5b506101f061028236600461115a565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156102b957600080fd5b506101be6102c836600461115a565b61073c565b3480156102d957600080fd5b506101f06000805160206116af83398151915281565b3480156102fb57600080fd5b506101be610926565b34801561031057600080fd5b5061032461031f3660046110cf565b610995565b604051610195919061117c565b34801561033d57600080fd5b5061018861034c3660046110fe565b6109c5565b34801561035d57600080fd5b506101f061036c36600461109d565b6001600160a01b031660009081526003602052604090205490565b34801561039357600080fd5b506101be6103a236600461118a565b6109f0565b3480156103b357600080fd5b506101f0600081565b3480156103c857600080fd5b506101f06103d736600461109d565b6001600160a01b031660009081526002602052604090205490565b3480156103fe57600080fd5b506101be61040d3660046110fe565b610a60565b34801561041e57600080fd5b506101f061042d36600461118a565b6001600160a01b031660009081526005602052604090205490565b34801561045457600080fd5b506001546101f0565b60006001600160e01b03198216637965db0b60e01b148061048e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6001600160a01b0381166000908152600260205260409020546104d25760405162461bcd60e51b81526004016104c9906111f1565b60405180910390fd5b60006104dd60015490565b6104e79047611217565b90506000610514838361050f866001600160a01b031660009081526003602052604090205490565b610a86565b9050806105335760405162461bcd60e51b81526004016104c990611277565b6001600160a01b0383166000908152600360205260408120805483929061055b908490611217565b9250508190555080600160008282546105749190611217565b9091555061058490508382610acb565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516105b592919061129b565b60405180910390a1505050565b6000805160206116af8339815191526105db8133610b67565b6008546009546040516370a0823160e01b815260009182916001600160a01b03909116906370a082319061061390309060040161117c565b60206040518083038186803b15801561062b57600080fd5b505afa15801561063f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066391906112b4565b11905060005b828110156106d557600060088281548110610686576106866112d5565b6000918252602090912001546001600160a01b031690506106a681610494565b82156106c2576009546106c2906001600160a01b03168261073c565b50806106cd816112eb565b915050610669565b50505050565b6000828152600760205260409020600101546106f78133610b67565b6107018383610bcb565b505050565b6001600160a01b038116331461072e5760405162461bcd60e51b81526004016104c990611352565b6107388282610c51565b5050565b6001600160a01b0381166000908152600260205260409020546107715760405162461bcd60e51b81526004016104c9906111f1565b6001600160a01b0382166000908152600560205260408120546040516370a0823160e01b81526001600160a01b038516906370a08231906107b690309060040161117c565b60206040518083038186803b1580156107ce57600080fd5b505afa1580156107e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080691906112b4565b6108109190611217565b90506000610849838361050f87876001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b9050806108685760405162461bcd60e51b81526004016104c990611277565b6001600160a01b0380851660009081526006602090815260408083209387168352929052908120805483929061089f908490611217565b90915550506001600160a01b038416600090815260056020526040812080548392906108cc908490611217565b909155506108dd9050848483610cb8565b836001600160a01b03167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161091892919061100a565b60405180910390a250505050565b6000805160206116af83398151915261093f8133610b67565b60085460005b8181101561070157600060088281548110610962576109626112d5565b6000918252602090912001546001600160a01b0316905061098281610494565b508061098d816112eb565b915050610945565b6000600482815481106109aa576109aa6112d5565b6000918252602090912001546001600160a01b031692915050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206116af833981519152610a098133610b67565b60085460005b818110156106d557600060088281548110610a2c57610a2c6112d5565b6000918252602090912001546001600160a01b03169050610a4d858261073c565b5080610a58816112eb565b915050610a0f565b600082815260076020526040902060010154610a7c8133610b67565b6107018383610c51565b600080546001600160a01b038516825260026020526040822054839190610aad9086611362565b610ab79190611397565b610ac191906113ab565b90505b9392505050565b80471015610aeb5760405162461bcd60e51b81526004016104c9906113f9565b6000826001600160a01b031682604051610b0490611409565b60006040518083038185875af1925050503d8060008114610b41576040519150601f19603f3d011682016040523d82523d6000602084013e610b46565b606091505b50509050806107015760405162461bcd60e51b81526004016104c99061146b565b610b7182826109c5565b61073857610b89816001600160a01b03166014610d0e565b610b94836020610d0e565b604051602001610ba59291906114c9565b60408051601f198184030181529082905262461bcd60e51b82526104c991600401611553565b610bd582826109c5565b6107385760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610c0d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610c5b82826109c5565b156107385760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6107018363a9059cbb60e01b8484604051602401610cd792919061100a565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e7a565b60606000610d1d836002611362565b610d28906002611217565b67ffffffffffffffff811115610d4057610d40611564565b6040519080825280601f01601f191660200182016040528015610d6a576020820181803683370190505b509050600360fc1b81600081518110610d8557610d856112d5565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610db457610db46112d5565b60200101906001600160f81b031916908160001a9053506000610dd8846002611362565b610de3906001611217565b90505b6001811115610e5b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610e1757610e176112d5565b1a60f81b828281518110610e2d57610e2d6112d5565b60200101906001600160f81b031916908160001a90535060049490941c93610e548161157a565b9050610de6565b508315610ac45760405162461bcd60e51b81526004016104c9906115c3565b6000610ecf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f099092919063ffffffff16565b8051909150156107015780806020019051810190610eed91906115e6565b6107015760405162461bcd60e51b81526004016104c99061164e565b6060610ac1848460008585843b610f325760405162461bcd60e51b81526004016104c990611692565b600080866001600160a01b03168587604051610f4e91906116a2565b60006040518083038185875af1925050503d8060008114610f8b576040519150601f19603f3d011682016040523d82523d6000602084013e610f90565b606091505b5091509150610fa0828286610fab565b979650505050505050565b60608315610fba575081610ac4565b825115610fca5782518084602001fd5b8160405162461bcd60e51b81526004016104c99190611553565b60006001600160a01b03821661048e565b610ffe81610fe4565b82525050565b80610ffe565b604081016110188285610ff5565b610ac46020830184611004565b6001600160e01b031981165b811461103c57600080fd5b50565b803561048e81611025565b60006020828403121561105f5761105f600080fd5b600061106b848461103f565b949350505050565b801515610ffe565b6020810161048e8284611073565b61103181610fe4565b803561048e81611089565b6000602082840312156110b2576110b2600080fd5b600061106b8484611092565b80611031565b803561048e816110be565b6000602082840312156110e4576110e4600080fd5b600061106b84846110c4565b6020810161048e8284611004565b6000806040838503121561111457611114600080fd5b600061112085856110c4565b925050602061113185828601611092565b9150509250929050565b600061048e82610fe4565b6110318161113b565b803561048e81611146565b6000806040838503121561117057611170600080fd5b6000611120858561114f565b6020810161048e8284610ff5565b60006020828403121561119f5761119f600080fd5b600061106b848461114f565b602681526000602082017f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2081526573686172657360d01b602082015291505b5060400190565b6020808252810161048e816111ab565b634e487b7160e01b600052601160045260246000fd5b6000821982111561122a5761122a611201565b500190565b602b81526000602082017f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742081526a191d59481c185e5b595b9d60aa1b602082015291506111ea565b6020808252810161048e8161122f565b600061048e8261113b565b610ffe81611287565b604081016110188285611292565b805161048e816110be565b6000602082840312156112c9576112c9600080fd5b600061106b84846112a9565b634e487b7160e01b600052603260045260246000fd5b60006000198214156112ff576112ff611201565b5060010190565b602f81526000602082017f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636581526e103937b632b9903337b91039b2b63360891b602082015291506111ea565b6020808252810161048e81611306565b600081600019048311821515161561137c5761137c611201565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826113a6576113a6611381565b500490565b6000828210156113bd576113bd611201565b500390565b601d81526000602082017f416464726573733a20696e73756666696369656e742062616c616e6365000000815291505b5060200190565b6020808252810161048e816113c2565b60008161048e565b603a81526000602082017f416464726573733a20756e61626c6520746f2073656e642076616c75652c207281527f6563697069656e74206d61792068617665207265766572746564000000000000602082015291506111ea565b6020808252810161048e81611411565b60005b8381101561149657818101518382015260200161147e565b838111156106d55750506000910152565b60006114b1825190565b6114bf81856020860161147b565b9290920192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260170160006114fb82856114a7565b7001034b99036b4b9b9b4b733903937b6329607d1b8152601101915061106b82846114a7565b600061152b825190565b80845260208401935061154281856020860161147b565b601f01601f19169290920192915050565b60208082528101610ac48184611521565b634e487b7160e01b600052604160045260246000fd5b60008161158957611589611201565b506000190190565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e74910190815260006113f2565b6020808252810161048e81611591565b801515611031565b805161048e816115d3565b6000602082840312156115fb576115fb600080fd5b600061106b84846115db565b602a81526000602082017f5361666545524332303a204552433230206f7065726174696f6e20646964206e8152691bdd081cdd58d8d9595960b21b602082015291506111ea565b6020808252810161048e81611607565b601d81526000602082017f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000815291506113f2565b6020808252810161048e8161165e565b6000610ac482846114a756fefeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519ba26469706673582212202597c512ac42236d3d8c1c14bf2ea15346f7a4dc91a80c62d5ddb1b928730a5964736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e73d0696b127b448fc8b380ceba3ab47996e1c8300000000000000000000000022332745a083d7eb0ef66327df61844b565045bd000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : payees (address[]): 0xe73d0696b127B448Fc8B380cEbA3Ab47996e1C83,0x22332745a083D7eb0EF66327Df61844b565045bd
Arg [1] : shares (uint256[]): 1,1
Arg [2] : weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 000000000000000000000000e73d0696b127b448fc8b380ceba3ab47996e1c83
Arg [5] : 00000000000000000000000022332745a083d7eb0ef66327df61844b565045bd
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Loading...
Loading
Loading...
Loading
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.